[p4] Adding a Changelist # to C++ code...?

Arnt Gulbrandsen arnt at gulbrandsen.priv.no
Thu Feb 21 07:42:38 PST 2008


Jamie.Echlin at barclayscapital.com writes:
> It's not 100% reliable and possibly was called a hack because you 
> might just sync a single file to 1000 say, with the rest of the depot 
> files being at 999. However the command below will report 1000.
>
> AFAIK if you don't have a label you can't accurately record the state 
> of the workspace, unless you record the version of every single file.

You can easily report the range of changes, something like "999-1000" or 
more likely "1000-1000".

Arnt



More information about the perforce-user mailing list