~noizyland/duplicity/fix-progress

« back to all changes in this revision

Viewing changes to duplicity/diffdir.py

  • Committer: Kenneth Loafman
  • Date: 2015-05-08 12:28:47 UTC
  • Revision ID: kenneth@loafman.com-20150508122847-z6dxdm3qqgumugef
* Added ability to get single file status from collection-status with
  patch from jitao (bug 1044715), like so:
  $ duplicity collection-status --file-changed c1 file://./foo

Show diffs side-by-side

added added

removed removed

Lines of Context:
209
209
                    ti = ROPath(sig_path.index).get_tarinfo()
210
210
                    ti.name = "deleted/" + "/".join(sig_path.index)
211
211
                    sigTarFile.addfile(ti)
212
 
                stats.add_deleted_file()
 
212
                stats.add_deleted_file(sig_path)
213
213
                yield ROPath(sig_path.index)
214
214
        elif not sig_path or new_path != sig_path:
215
215
            # Must calculate new signature and create delta