Class BranchMgr
In: specsaver.rb
Parent: SpecMgr

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

Methods
description    list_specs    spec_file    update   
Public Instance methods
update( since )

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
list_specs()

Generate a list of branchspecs using "p4 branches"

# File specsaver.rb, line 486
    def list_specs
	@p4t.run_branches
    end
spec_file( spec )

Map a branchspec to a depot path.

# File specsaver.rb, line 493
    def spec_file( spec )
	@root + "/branches/" + spec[ "branch" ] 
    end
description()

Provide the description for changelist and stdout

# File specsaver.rb, line 500
    def description
	"Archive updated branches"
    end