[p4] how to use labelsync to mimic specific CVS usage

William Deegan bdbaddog at gmail.com
Fri Jun 8 13:25:17 PDT 2007


Greetings,

I've just migrated some developers from CVS -> perforce.

They used to use a sticky tag to mark code to be used by a specific
client and/or another group of developers.

What they want to do is to be able to label @CHANGELIST# + files changed in
another later changelist, but not necessarily what is in the intervening ones.

I sugguested the following:
1) p4 labelsync -l MYLABEL //depot/xyz/... at CHANGELIST#
2) p4 describe -s SECOND_CHANGELIST# | grep '\.\.\.' | p4 -x-
labelsync -l MYLABEL -a

Is there a better way to do this?
I think what their trying to do is basically capture the state a
client could be.

Synced to CHANGELIST#, modified some files, submitted changelis_two.

Thanks,
Bill


More information about the perforce-user mailing list