/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: 2014-04-18 14:37:11 UTC
  • Revision ID: tim@ed.am-20140418143711-0cwh7hm1w53w4k8q
made checks for verbose >= 1 explicit

Show diffs side-by-side

added added

removed removed

109
109
                                ( the.home_dir, the.repo.dir, '\n  '.join( e.conflicts ) ) )
110
110
 
111
111
                # perform vcs update
112
 
                if the.verbose: print "updating %s" % the.repo.dir
 
112
                if the.verbose >= 1: print "updating %s" % the.repo.dir
113
113
                updated_files = the.repo.vcs.update()
114
114
 
115
115
                message = ''
134
134
                deployment.copy_out()
135
135
 
136
136
                # now we've copied-out, revert any copied-in changes!
137
 
                if the.verbose: print "reverting %s" % the.repo.dir
 
137
                if the.verbose >= 1: print "reverting %s" % the.repo.dir
138
138
                the.repo.vcs.revert()