/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/revert.py

  • Committer: Tim Marston
  • Date: 2016-02-23 22:37:03 UTC
  • Revision ID: tim@ed.am-20160223223703-sx94svvstwt8xvrb
determine and instantiate repo vcs dynamically; for new repos, added default vcs
configuration option and allow override in init command arguments; re-added
handling of -v/--verbose arguments to commands and removed from program (since
there may be problems parsing all arguments here)

Show diffs side-by-side

added added

removed removed

72
72
                                        raise the.program.FatalError(
73
73
                                                'invalid repository name: ' + optarg )
74
74
                                the.repo = optarg
 
75
                        elif opt in [ '-v', '--verbose' ]:
 
76
                                the.verbose += 1
75
77
                        elif opt == "--help":
76
78
                                self.print_help()
77
79