[p4] Find source changelist for a target changelist

Sambwise perforce-user-forum at forums.perforce.com
Fri Mar 31 08:10:01 PDT 2017


Posted on behalf of forum user 'Sambwise'.

Here we go, in one line:

p4 -F "[%how%@|][%fromFile%][%fromRev%]"
filelog @=CHANGE | sed "s/ignored@/from@/" | grep "from@" |
sed "s/.*@//" | sed
"s/^\([^#]*\)#\([^#]*\)$/\1#=\2/" | p4 -x - -F
%change% files -a | sort | uniq



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/5262-find-source-changelist-for-a-target-changelist


More information about the perforce-user mailing list