[Buildbot-devel] p4 sync to a changelist

Jimmy John jimmyj_in at yahoo.com
Thu Oct 30 23:16:25 UTC 2008


Hello,

   I currently do a P4 sync via buildbot and it works fine. eg. 

f.addStep(P4(mode="clobber",
             alwaysUseLatest=True,
             p4base="//xxx/current/",
             p4port="perforce:1666",
             p4user="build",
             workdir="build/xxx/current",
             p4client="buildbot_current_branch_%s" % slavename))

Is there a way I can sync up to a particular changelist number. i.e rather than do p4 sync -f do

p4 sync @44413 -f


Thanks
Jimmy


      




More information about the devel mailing list