You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Andreas Axelsson <An...@dice.se> on 2005/11/16 09:19:06 UTC
RE: [p4] Selecting between sync to head and sync to label with Ant"p4sync" task
There's no "automatic" label which corresponds to head, if that's what
you mean. May I ask what you're trying to accomplish?
/axl
> -----Original Message-----
> From: perforce-user-bounces@perforce.com
> [mailto:perforce-user-bounces@perforce.com] On Behalf Of Karr, David
> Sent: den 16 november 2005 00:04
> To: perforce-user@perforce.com; Ant Users List
> Subject: [p4] Selecting between sync to head and sync to
> label with Ant"p4sync" task
>
> If I have code that needs to choose between syncing to head
> and syncing to a label, is there a label value that
> corresponds to "head"? My code currently checks a "p4.label"
> property to determine whether to do a sync or not. I'm
> guessing I'm going to have to also check for "p4.label"
> being equal to "head" (by convention), and if so, execute a
> separate "p4sync" task that leaves off the "label" attribute.
> From what I can see in the task documentation, I can't just
> leave an empty label value, as that apparently is an error case.
>
> _______________________________________________
> perforce-user mailing list - perforce-user@perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org