SpecMgr subclass for Branches. As the plural of
branch is branchES, this needs slightly different handling so it's derived
from SpecMgr, rather than GenSpecMgr
Main interface method. Nothing special required, just shorthand for the SpecMgr implementation.
# File specsaver.rb, line 477
def update( since )
super( "branch", since )
end
Protected Instance methods |
Generate a list of branchspecs using "p4 branches"
# File specsaver.rb, line 486
def list_specs
@p4t.run_branches
end
Map a branchspec to a depot path.
# File specsaver.rb, line 493
def spec_file( spec )
@root + "/branches/" + spec[ "branch" ]
end
Provide the description for changelist and stdout
# File specsaver.rb, line 500
def description
"Archive updated branches"
end