[p4] Is there a command in Perforce that could tell me whichchangelists were included in the last sync I did?
Ivey, William
william_ivey at bmc.com
Wed May 9 14:43:33 PDT 2007
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com]On Behalf Of
> Chenini, Mohamed
>
> After doing a p4 -c <workspace> sync
>
> u1c332 at plbc0111:~> p4 files '#have' | sed 's/.*change
> \([0-9]*\).*/\1/'
> | sort -un | tail -1
>
> #have - file(s) not on client.
I assume you filled in <workspace> with the name of an
actual client. In that case, you need to modify your
files command to match:
p4 -c <workspace> files '#have'
This should also work, though:
p4 files @<workspace>
-Wm
More information about the perforce-user
mailing list