[p4] Can you find out which changelist your workspace has been synced to?
steve at vance.com
Mon Jan 28 15:30:35 PST 2008
p4 changes -m 1 //myworkspace/...
will tell you the highest changelist number that had contributed to your
p4 sync -n @12345
will tell you whether everything up to and including that changelist
that is mapped into your workspace has been synced.
Ignoring the possibility that there are things in that changelist that
aren't mapped to your workspace, these represent the necessary and
sufficient conditions for your workspace being at that change level.
Yamuna Ramasubramaniyan wrote:
> I'd like to find out what changelist my workspace has been synced to.
> P4 sync -n shows me which files would be updated if I were to do a sync,
> but I'd like to find out which changelist I last synced to. I recall
> this could be done in svn. Is this possible in P4?
> TIA for your help,
> perforce-user mailing list - perforce-user at perforce.com
More information about the perforce-user