Ejemplo n.º 1
0
 def handle_branch(self, branch_name, **options):
     self.checkout(branch_name, options['origin'], boolval(options['db']))
Ejemplo n.º 2
0
 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']))