[p4] How to search for changes by description?
Calman, Kevin
Kevin.Calman at acs-inc.com
Fri Jun 25 09:43:37 PDT 2010
p4 -ztag changes -l | awk '/^\.\.\. change/{C=$3};/^\.\.\. desc/{if
($3~/T/) printf "%s, ", C}' T="Target text"; echo
| -----Original Message-----
| From: perforce-user-bounces at perforce.com
| [mailto:perforce-user-bounces at perforce.com] On Behalf Of Roy Smith
| Sent: Friday, June 25, 2010 8:45 AM
| To: perforce-user at perforce.com
| Subject: [p4] How to search for changes by description?
|
| I want to find all the changes whose description text match a
| given pattern. How can I do that?
|
| The best I've come up with so far is to run "p4 changes -l"
| into a file and write a little Python script which post
| processes the output. That's not too difficult, there's got
| to be a better way, no?
|
|
| _______________________________________________
| perforce-user mailing list - perforce-user at perforce.com
| http://maillist.perforce.com/mailman/listinfo/perforce-user
|
More information about the perforce-user
mailing list