/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: 2014-04-05 19:22:21 UTC
  • Revision ID: tim@ed.am-20140405192221-yl8xgy3qorbahlfw
implemented CopyInWalker in terms of CopyBaseWalker, changed implementation of
the verbose operation print function for readability

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
63
65
                        elif opt == "--help":
64
66
                                self.print_help()
65
 
 
 
67
                
66
68
                # discard first argument (the command)
67
69
                args.pop( 0 )
68
70
 
103
105
                deployment.copy_out()
104
106
 
105
107
                # now we've copied-out, revert any copied-in changes!
106
 
                if the.verbose >= 1: print "reverting %s" % the.repo.dir
 
108
                if the.verbose: print "reverting %s" % the.repo.dir
107
109
                the.repo.vcs.revert()