Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>'headAction' is the action at the head revision in the depot - meaning it's the action of the latest revision that has been submitted to the depot. Typically this is 'add' for newly added (and submitted) files, 'edit' for files that have been edited and submitted, or 'delete' when the file has been deleted at head (and again submitted). There are other options here (like 'branch', 'integrate', etc).</p> <p>'action' is what you are currently doing to the file. If you open a file for 'edit', the action will be 'edit'. Likewise if you open a file for 'delete', the action will be 'delete'. If you submit your change, then the action will become the headAction.</p> <p>Here is a small example. I created a new file and submitted it. There was 1 revision in the depot. It's head action is 'add'. Then I edited the file. You can see the fstat output:</p> <pre><code>d:\projects\tools\test&gt;p4 fstat new_file.txt ... depotFile //tools/test/new_file.txt ... clientFile d:\projects\tools\test\new_file.txt ... isMapped ... headAction add ... headType text ... headTime 1285014691 ... headRev 1 ... headChange 759253 ... headModTime 1285014680 ... haveRev 1 d:\projects\tools\test&gt;p4 edit new_file.txt //tools/test/new_file.txt#1 - opened for edit d:\projects\tools\test&gt;p4 fstat new_file.txt ... depotFile //tools/test/new_file.txt ... clientFile d:\projects\tools\test\new_file.txt ... isMapped ... headAction add ... headType text ... headTime 1285014691 ... headRev 1 ... headChange 759253 ... headModTime 1285014680 ... haveRev 1 ... action edit ... change default ... type text ... actionOwner fred.flintstone </code></pre> <p>If you are trying to tell if a folder is out of sync, then it really seems that you need to only look at 'haveRev' vs 'headRev'. If headRev is > haveRev, you are out of date. If you care about whether the file is deleted at head, then perhaps looking at headAction might be useful. I guess I don't have enough information on your problem to know.</p> <p>Anyway, HTH.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload