/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/deployment.py

  • Committer: Tim Marston
  • Date: 2016-02-16 00:26:53 UTC
  • Revision ID: tim@ed.am-20160216002653-oa8dgponknyislg3
added home directory change reporting to CopyOutWalker; added --quiet option to
update, resolve, revert and init commands; replace use of re.match with
re.search for clarity (and fixed related bug in FileMatcher); added BzrVcs.run
command output when verbose >= 2

Show diffs side-by-side

added added

removed removed

191
191
                return walker.changed + walker.obstructed
192
192
 
193
193
 
194
 
        def copy_out( self ):
 
194
        def copy_out( self, quiet ):
195
195
                """Copy-out changed files from the repository to the home directory.  If the
196
196
                deployment state includes a list of affected files, then only those
197
197
                files are copied-out.
206
206
 
207
207
                # copy out
208
208
                if the.verbose >= 1: print "exporting files..."
209
 
                walker = CopyOutWalker( self.affected_files )
 
209
                walker = CopyOutWalker( self.affected_files, quiet )
210
210
                walker.walk()
211
211
 
212
212
                # clear state