adjust standard preferred content to work better with git annex sync --all --content
backup: Use new "anything" terminal. This means that content that is not unused, but has no associated file will be wanted by backup repos. unwanted: "not anything" will result in any and all content moving off of these repos. incremental backup: Remove the "(include=* or unused)", so it matches content that has no associated files but is not unused. client: Add a include=* to the expression. This limits it to matching only files in the work tree. Without this change, sync --all --content would match a key against the expression, and since it matches exclude=archive/*, the client repo would have wanted the file content. The "and not unused" would have kept unused objects out, but not objects that were not known to be unused, or objects that another branch referred to. In practice, everything would have flooded into client repos without this change.
This commit is contained in:
parent
a4955542a3
commit
8268f7951e
3 changed files with 13 additions and 10 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -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.
|
||||
* Standard preferred content for client, backup, incremental backup,
|
||||
and unwanted groups have been adjusted to work better when used
|
||||
with git annex sync --all --content.
|
||||
* Fix incremental backup standard preferred content expression to match
|
||||
its documentation, which says it does not want files that have reached
|
||||
a backup repository.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue