Commit a0806c14 authored by dgaudet's avatar dgaudet

Filenames in the file_statistics*gz files are now quoted the same way

as filenames in the metadata file (LF => \n and \ => \\).


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@584 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 101edd92
......@@ -4,6 +4,8 @@ New in v0.13.7 (????/??/??)
Handle cases of junk uid/gids better on 64bit systems. (Bug report by
Nick Bailey)
Filenames in the file_statistics*gz files are now quoted the same way
as filenames in the metadata file (LF => \n and \ => \\).
New in v0.13.6 (2005/04/07)
---------------------------
......
......@@ -20,7 +20,7 @@
"""Generate and process aggregated backup information"""
import re, os, time
import Globals, Time, increment, log, static
import Globals, Time, increment, log, static, metadata
class StatsException(Exception): pass
......@@ -381,6 +381,7 @@ class FileStats:
"""Update file stats with given information"""
if source_rorp: filename = source_rorp.get_indexpath()
else: filename = dest_rorp.get_indexpath()
filename = metadata.quote_path(filename)
size_list = map(cls.get_size, [source_rorp, dest_rorp, inc])
line = " ".join([filename, str(changed)] + size_list)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment