~noizyland/duplicity/fix-progress

« back to all changes in this revision

Viewing changes to bin/duplicity

  • 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:
458
458
 
459
459
    # Upload the collection summary.
460
460
    # bytes_written += write_manifest(mf, backup_type, backend)
 
461
    mf.set_files_changed_info(diffdir.stats.get_delta_entries_file())
461
462
 
462
463
    return bytes_written
463
464
 
1450
1451
    elif action == "list-current":
1451
1452
        list_current(col_stats)
1452
1453
    elif action == "collection-status":
1453
 
        log.PrintCollectionStatus(col_stats, True)
 
1454
        if not globals.file_changed:
 
1455
            log.PrintCollectionStatus(col_stats, True)
 
1456
        else:
 
1457
            log.PrintCollectionFileChangedStatus(col_stats, globals.file_changed, True)
1454
1458
    elif action == "cleanup":
1455
1459
        cleanup(col_stats)
1456
1460
    elif action == "remove-old":