[p4] p4 -x- flag with client -d?
Geir A. Myrestrand
geir.myrestrand at falconstor.com
Fri Mar 30 08:13:29 PST 2007
Shawn Hladky wrote:
> On 3/29/07, David Weintraub <qazwart at gmail.com> wrote:
> "The -x only works for file names and not client names. "
>
> Actually, the -x flag works on any command that takes multiple arguments.
> That's usually files, but can be other things. One of my favorites is
> multiple changelists on p4 describe -s (even though it's not indicated in
> the help). It's always worth a shot to try the -x flag first, as your
> script will definitely execute faster.
Great tip, Shawn!
That should speed up significantly the shell script I created for
automatic change log generation, because now it calls "p4 describe -s"
for every change number and is naturally quite slow and probably quite a
burden on the Perforce server and perhaps on the network too...Changing
it to just issuing one call should help a lot....one more thing to do
before the weekend.... :-)
--
Geir A. Myrestrand
More information about the perforce-user
mailing list