summaryrefslogtreecommitdiff
path: root/CHANGELOG
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-09-21 15:18:51 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-09-21 15:23:47 -0400
commitbc5b0e073128419de4c2c0d05d8e15f9a2195a42 (patch)
tree82eae418d2373bb77eae1af71827b3859bf0cea1 /CHANGELOG
parent7bed6cb201b5ac528383b830ef5ab8807cb86adb (diff)
fix bugs in handing of deep branches with sync and adjusted branches
* sync: Previously, when run in a branch with a slash in its name, such as "foo/bar", the sync branch was "synced/bar". That conflicted with the sync branch used for branch "bar", so has been changed to "synced/foo/bar". * adjust: Previously, when adjusting a branch with a slash in its name, such as "foo/bar", the adjusted branch was "adjusted/bar(unlocked)". That conflicted with the adjusted branch used for branch "bar", so has been changed to "adjusted/foo/bar(unlocked)" * Also, running sync in an adjusted branch did not correctly sync changes back to the parent branch when it had a slash in its name. This bug has been fixed. Eliminate use of Git.Ref.under and Git.Ref.basename; using Git.Ref.underBase and Git.Ref.base make everything handle deep branches correctly. Probably noone was adjusting deep branches, and v6 is still experimental anyway, so I'm not going to worry about the mess that was left by that bug. In the case of git-annex sync, using a fixed git-annex with an old unfixed one will mean they use different sync branches for a deep branch, and so they may stop syncing until the old one is upgraded. However, that's only a problem when syncing between repositories without going via a central bare repository. Added a warning about this to the CHANGELOG, but it's probably not going to affect many people at all. This commit was sponsored by Riku Voipio.
Diffstat (limited to 'CHANGELOG')
-rw-r--r--CHANGELOG17
1 files changed, 17 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 4f7674a8b..5c44f412c 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -15,6 +15,23 @@ git-annex (6.20160908) UNRELEASED; urgency=medium
* stack.yaml: Update to lts-7.0 (ghc 8)
* info: Support being passed a treeish, and show info about the annexed
files in it similar to how a directory is handled.
+ * sync: Previously, when run in a branch with a slash in its name,
+ such as "foo/bar", the sync branch was "synced/bar". That conflicted
+ with the sync branch used for branch "bar", so has been changed to
+ "synced/foo/bar".
+ * Note that if you're using an old version of git-annex to sync with
+ a branch with a slash in its name, it won't see some changes synced by
+ this version, and this version won't see some changes synced by the older
+ version. This is not a problem if there's a central bare repository,
+ but may impact other configurations until git-annex is upgraded to this
+ version.
+ * adjust: Previously, when adjusting a branch with a slash in its name,
+ such as "foo/bar", the adjusted branch was "adjusted/bar(unlocked)".
+ That conflicted with the adjusted branch used for branch "bar",
+ so has been changed to "adjusted/foo/bar(unlocked)"
+ * Also, running sync in an adjusted branch did not correctly sync
+ changes back to the parent branch when it had a slash in its name.
+ This bug has been fixed.
-- Joey Hess <id@joeyh.name> Thu, 08 Sep 2016 12:48:55 -0400