/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/update.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

Lines of Context:
78
78
                                        raise the.program.FatalError(
79
79
                                                'invalid repository name: ' + optarg )
80
80
                                the.repo = optarg
 
81
                        elif opt in [ '--verbose', '-v' ]:
 
82
                                the.verbose += 1
81
83
                        elif opt == "--help":
82
84
                                self.print_help()
83
85