[p4] Tool arguments

Weintraub, David david.weintraub at bofasecurities.com
Thu Oct 12 11:50:46 PDT 2006


It's the "%D" that does it. When I use "//..." instead, everything works
fine. If I leave a space between the "%D and "#have,head", everything
works.

Try it with a space between %D and the "#have,head". It appears to
actually work.

-----Original Message-----
From: kkumler at gmail.com [mailto:kkumler at gmail.com] On Behalf Of Kris
Kumler
Sent: Thursday, October 12, 2006 2:12 PM
To: Steven W. Orr
Cc: Weintraub, David; perforce-user at perforce.com
Subject: Re: [p4] Tool arguments

I would have recognized '#' as a comment character if I was on my normal
systems using bash.  However, this is from p4win and using the Windows
command shell (cmd.exe).

Having the argument as
-c $c sync '%D#have,#head'

results in
14:05:35 C:\WINDOWS\system32\cmd.exe /c p4 -c clientspecname sync -n
'"//depot/path/in/depot/..."

Using " instead of ' results in the same, except that one of the " is
preserved instead, just as the '.
I just want to have the revision range on the files there.

Kris


More information about the perforce-user mailing list