- print '%s %s%s\t%s\t%s' % (current, initialized, protected, branch_name, \
- stack.Series(branch_name).get_description())
-
-def delete_branch(doomed_name, force = False):
- if stack.Series(doomed_name).get_protected():
- raise CmdException, 'This branch is protected. Delete is not permitted'
-
- if is_current_branch(doomed_name) and doomed_name != 'master':
- git.switch_branch('master')
+ print current + ' ' + initialized + protected + '\t' + \
+ branch_name.ljust(length) + ' | ' + branch.get_description()