コード例 #1
0
ファイル: checkout.py プロジェクト: jakepic1/django-djangit
 def handle_branch(self, branch_name, **options):
     self.checkout(branch_name, options['origin'], boolval(options['db']))
コード例 #2
0
ファイル: branch.py プロジェクト: jakepic1/django-djangit
 def handle_branch(self, command, branch_name, **options):
     if command == 'create':
         self.create(branch_name, options['origin'], boolval(options['db']))
     elif command == 'delete':
         self.delete(branch_name, options['origin'], boolval(options['db']))