|
|
|
[
Permlink
| « Hide
]
Robin Shen [30/Jul/15 12:00 AM]
Yes, this is a limitation as we can not get the corresponding change number reliably from a label to calculate the changes.
Hi Robin,
could you please elaborate more about "cannot get the corresponding change number reliably"? Running this small one-liner is returning the corresponding changelist of a label: {code} p4 -ztag -F %Revision% label -o mylabel | cut -d "@" -f 2 {code} I am not aware of this command, will investigate to see if it can be improved.
Looks like Perforce label usually does not have a global revision information attached. The revision information is specified at file level. Without a global revision, it is meaningless to calculate changes between two labels.
Please reopen it if you have other ideas. |