Fix incremental backup standard preferred content expression to match its documentation, which says it does not want files that have reached a backup repository.

Checked history and these have been out of sync from the very beginning!
This commit is contained in:
Joey Hess 2015-06-16 17:10:10 -04:00
parent 8c46ea22c2
commit a4955542a3
2 changed files with 4 additions and 1 deletions

View file

@ -85,7 +85,7 @@ standardPreferredContent TransferGroup = lastResort $
"not (inallgroup=client and copies=client:2) and (" ++ standardPreferredContent ClientGroup ++ ")"
standardPreferredContent BackupGroup = "include=* or unused"
standardPreferredContent IncrementalBackupGroup = lastResort
"(include=* or unused) and (not copies=incrementalbackup:1)"
"(include=* or unused) and (not copies=backup:1) and (not copies=incrementalbackup:1)"
standardPreferredContent SmallArchiveGroup = lastResort $
"(include=*/archive/* or include=archive/*) and (" ++ standardPreferredContent FullArchiveGroup ++ ")"
standardPreferredContent FullArchiveGroup = lastResort notArchived

3
debian/changelog vendored
View file

@ -37,6 +37,9 @@ git-annex (5.20150616) UNRELEASED; urgency=medium
* sync: Add support for --all and --unused.
* Added new "anything" preferred content expression, which matches all
versions of all files.
* Fix incremental backup standard preferred content expression to match
its documentation, which says it does not want files that have reached
a backup repository.
-- Joey Hess <id@joeyh.name> Sat, 30 May 2015 02:07:18 -0400