[p4] Tool arguments

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


In Unix, the "#" is a comment character, and if not quoted, it will mark
the rest of the line as a comment. I don't know what happens on a
Windows box (unless you're using Cygwin which would have the same
problems as Unix).

Could you put the file name in quotes along with the "#have,head"
suffix? That may take care of this issue. 

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Kris Kumler
Sent: Thursday, October 12, 2006 10:05 AM
To: perforce-user at perforce.com
Subject: [p4] Tool arguments

Hi,

I was trying to set up a tool from p4win that would run p4 to sync on
the current files on the client, as was recently discussed on this list.
The arguments I tried were:
-c $c sync %D#have,#head

However, when it was executed, the "#have,#head" portion was not
included.
Is there an escape code or other syntax required to get this to work as
intended?

Thanks
Kris
_______________________________________________
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