Commit 421a66b7 authored by bescoto's avatar bescoto

Update the no-compression-regexp


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@656 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 2623053e
New in v1.1.1 (????/??/??)
--------------------------
Applied Alec Berryman's patch to update the no-compression regexp.
New in v1.1.0 (2005/10/24) New in v1.1.0 (2005/10/24)
-------------------------- --------------------------
......
...@@ -269,9 +269,9 @@ volume can contain compressed and uncompressed increments, so using ...@@ -269,9 +269,9 @@ volume can contain compressed and uncompressed increments, so using
this option inconsistently is fine. this option inconsistently is fine.
.TP .TP
.B "--no-compression-regexp " regexp .B "--no-compression-regexp " regexp
Do not compress increments based on files whose filenames match regexp. Do not compress increments based on files whose filenames match
The default is regexp. The default includes many common audiovisual and archive
"(?i).*\\.(gz|z|bz|bz2|tgz|zip|rpm|deb|jpg|gif|png|jp2|mp3|ogg|avi|wmv|mpeg|mpg|rm|mov)$" files, and may be found in Globals.py.
.TP .TP
.B --no-file-statistics .B --no-file-statistics
This will disable writing to the file_statistics file in the This will disable writing to the file_statistics file in the
......
...@@ -167,8 +167,9 @@ compression = 1 ...@@ -167,8 +167,9 @@ compression = 1
# case-insensitive regular expression won't be compressed (applies # case-insensitive regular expression won't be compressed (applies
# to .snapshots and .diffs). The second below will be the # to .snapshots and .diffs). The second below will be the
# compiled version of the first. # compiled version of the first.
no_compression_regexp_string = "(?i).*\\.(gz|z|bz|bz2|tgz|zip|rpm|deb|" \ no_compression_regexp_string = ("(?i).*\\.(gz|z|bz|bz2|tgz|zip|rpm|deb|"
"jpg|gif|png|jp2|mp3|ogg|avi|wmv|mpeg|mpg|rm|mov|flac|shn)$" "jpg|jpeg|gif|png|jp2|mp3|ogg|avi|wmv|mpeg|mpg|rm|mov|flac|shn|pgp|"
"gpg|rz|lzh|zoo|lharc|rar|arj|asc)$")
no_compression_regexp = None no_compression_regexp = None
# If true, filelists and directory statistics will be split on # If true, filelists and directory statistics will be split on
......
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