[Buildbot-commits] [Buildbot] #2069: Information on improving P4 object

Buildbot nobody at buildbot.net
Wed Aug 3 01:53:26 UTC 2011


#2069: Information on improving P4 object
--------------------------------+------------------------
Reporter:  johnwbyrd            |       Owner:
    Type:  enhancement          |      Status:  new
Priority:  trivial              |   Milestone:  undecided
 Version:  0.8.4p2              |  Resolution:
Keywords:  perforce changes p4  |
--------------------------------+------------------------

Comment (by johnwbyrd):

 Whoops, cut and paste failed.  Let's try again.

 ---

 class P4RememberBranch(P4):
         """ P4RememberBranch is a class for accessing perforce revision
 control.  """

         name = "P4RememberBranch"

         def __init__(self, **kwargs):
                 P4.__init__(self, **kwargs)
                 self.p4branch = self.p4base + self.branch + r'/'

         def startVC(self, branch, revision, patch):
                 self.build.setProperty('p4branch', self.p4branch,
 "Source")

                 P4.startVC( self, branch, revision, patch )

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2069#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list