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

86
86
                                "can't revert ongoing deployment: initial revno is missing!" )
87
87
 
88
88
                # check for local changes
89
 
                if the.verbose: print "reverting %s" % the.repo.dir
 
89
                if the.verbose >= 1: print "reverting %s" % the.repo.dir
90
90
                the.repo.vcs.revert( deployment.get_initial_revno() )
91
91
 
92
92
                # remove deployment state