/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-05 19:20:06 UTC
  • Revision ID: tim@ed.am-20140405192006-fv0toip4b8m5pc88
fixed bug preventing skipping of subdirectories in walker; also added
walker.File.__str__()

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 >= 1: print "reverting %s" % the.repo.dir
 
89
                if the.verbose: print "reverting %s" % the.repo.dir
90
90
                the.repo.vcs.revert( deployment.get_initial_revno() )
91
91
 
92
92
                # remove deployment state