# The commands
import stgit.commands.add
import stgit.commands.applied
+import stgit.commands.branch
import stgit.commands.delete
import stgit.commands.diff
import stgit.commands.clean
commands = {
'add': stgit.commands.add,
'applied': stgit.commands.applied,
+ 'branch': stgit.commands.branch,
'delete': stgit.commands.delete,
'diff': stgit.commands.diff,
'clean': stgit.commands.clean,
sys.exit(0)
if cmd in ['-v', '--version', 'version']:
print 'Stacked GIT %s' % version
+ os.system('git --version')
print 'Python version %s' % sys.version
sys.exit(0)
if cmd in ['copyright']: