Re: [p4] Get date/time of latest sync

Sambwise <[email protected]>
Newsgroups gmane.comp.version-control.perforce
Message-ID <[email protected]>
Posted on behalf of forum user 'Sambwise'.

"move" and "rename" are synonymous in
Perforce.  Whenever you "move" a file, the old file is a
move/delete revision and the new file is a move/add revision.

A move/add and an add are identical in that both correspond to a file being
created.  A move/add has some additional guarantees around it -- it
will always be paired with a move/delete, and there will always be a "...
moved from" entry in the history telling you where that is.

When reconcile sees that you've deleted and added files at the same time, it
compares them to try to figure out if they were the same file (or very nearly
the same; there's some fuzzy matching that happens in case you needed to
update class names in a Java file or something like that), and if so it adds the
"move" metadata for better record-keeping.  After you submit
you'll see this in the filelog output so the history isn't
"broken" by a rename:
% p4 filelog xyz.dat2 //depot/xyz.dat2 ... #1 move/add change NNNN by blah blah
... ... moved from //depot/xyz.dat#1,#2 //depot/xyz.dat ... #2 edit change MMNN
by blah ... ... moved into //depot/xyz/dat#1 ... #1 add change MMMM by blahblah 

and:

% p4 filelog xyz.dat //depot/xyz.dat ... #3 move/delete change NNNN by blah blah
... #2 edit change MMNN by blah ... ... moved into //depot/xyz/dat#1 ... #1 add
change MMMM by blahblah 



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/5593-get-datetime-of-latest-sync
_______________________________________________
perforce-user mailing list  -  [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.