DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42304>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42304 Summary: P4Label task doesn't support the new 'revision' field for Perforce labels Product: Ant Version: 1.7.0 Platform: All OS/Version: other Status: NEW Severity: normal Priority: P4 Component: Optional SCM tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] Perforce now allows labels to include a revision specifier, which allows the label to refer to all files under a certain view, as of a specific revision, without actually attaching files to the label. This saves a lot of space in the Perforce metadata tables, so it is highly desirable. The P4Label task has no such 'revision' attribute, so we have to use <exec> to get this feature. I have written a patch to address this, and will attempt to contribute such. Supporting this feature would be as simple as adding this (optional) attribute and adding it to the 'label' command when present, e.g. // If revision provided newLabel = newLabel + "\nRevision: " + revision; and skipping the 'labelsync -l' operation, e.g. // Only if no revision provided execP4Command("labelsync -l " ... -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]