duplicity-team team mailing list archive
-
duplicity-team team
-
Mailing list archive
-
Message #01812
[Merge] lp:~mterry/duplicity/log-path-type into lp:duplicity
Michael Terry has proposed merging lp:~mterry/duplicity/log-path-type into lp:duplicity.
Requested reviews:
duplicity-team (duplicity-team)
For more details, see:
https://code.launchpad.net/~mterry/duplicity/log-path-type/+merge/193677
Any backup browser built on top of duplicity will need to indicate which files in the backup are folders and which are files. The current logging information doesn't provide this detail. So I've added a field to the log.InfoCode.file_list output that includes the path type.
Thanks!
--
https://code.launchpad.net/~mterry/duplicity/log-path-type/+merge/193677
Your team duplicity-team is requested to review the proposed merge of lp:~mterry/duplicity/log-path-type into lp:duplicity.
=== modified file 'bin/duplicity'
--- bin/duplicity 2013-09-20 01:32:31 +0000
+++ bin/duplicity 2013-11-02 06:02:23 +0000
@@ -665,8 +665,9 @@
if path.difftype != "deleted":
user_info = "%s %s" % (dup_time.timetopretty(path.getmtime()),
path.get_relative_path())
- log_info = "%s %s" % (dup_time.timetostring(path.getmtime()),
- util.escape(path.get_relative_path()))
+ log_info = "%s %s %s" % (dup_time.timetostring(path.getmtime()),
+ util.escape(path.get_relative_path()),
+ path.type)
log.Log(user_info, log.INFO, log.InfoCode.file_list,
log_info, True)
Follow ups