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

Lines of Context:
109
109
                                ( the.home_dir, the.repo.dir, '\n  '.join( e.conflicts ) ) )
110
110
 
111
111
                # perform vcs update
112
 
                if the.verbose >= 1: print "updating %s" % the.repo.dir
 
112
                if the.verbose: 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 >= 1: print "reverting %s" % the.repo.dir
 
137
                if the.verbose: print "reverting %s" % the.repo.dir
138
138
                the.repo.vcs.revert()