ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42304] New: - P4Label task doesn't support the new 'revision' field for Perforce labels
Date Mon, 30 Apr 2007 19:11:33 GMT
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: brian.hartin@gmail.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message