/stdhome

To get this branch, use:
bzr branch http://bzr.ed.am/stdhome

« back to all changes in this revision

Viewing changes to lib/stdhome/command/resolve.py

  • Committer: Tim Marston
  • Date: 2016-02-13 14:21:53 UTC
  • Revision ID: tim@ed.am-20160213142153-68g7pzq0au6bejep
fixed init command

Show diffs side-by-side

added added

removed removed

60
60
                                        raise the.program.FatalError(
61
61
                                                'invalid repository name: ' + optarg )
62
62
                                the.repo = optarg
63
 
                        elif opt in [ '--verbose', '-v' ]:
64
 
                                the.verbose += 1
65
63
                        elif opt == "--help":
66
64
                                self.print_help()
67
 
                
 
65
 
68
66
                # discard first argument (the command)
69
67
                args.pop( 0 )
70
68
 
105
103
                deployment.copy_out()
106
104
 
107
105
                # now we've copied-out, revert any copied-in changes!
108
 
                if the.verbose: print "reverting %s" % the.repo.dir
 
106
                if the.verbose >= 1: print "reverting %s" % the.repo.dir
109
107
                the.repo.vcs.revert()