webapp: Avoid stomping on existing group and preferred content settings when adding a local repository (or removable drive repository) that already exists.

This does mean that if the webapp is asked to add a git repository on
a removable drive that already exists, but is not yet a git-annex
repository, it will avoid putting it in any group. That unlikely edge case
is ok; the next step is the edit repository screen, which will show it's
not in any group and the user can pick one.
This commit is contained in:
Joey Hess 2014-05-30 12:31:54 -04:00
parent 930d984142
commit de0cba18f6
3 changed files with 13 additions and 6 deletions

3
debian/changelog vendored
View file

@ -3,6 +3,9 @@ git-annex (5.20140530) UNRELEASED; urgency=medium
* webapp: When adding a new local repository, fix bug that caused its
group and preferred content to be set in the current repository,
even when not combining.
* webapp: Avoid stomping on existing group and preferred content settings
when adding a local repository (or removable drive repository) that
already exists.
-- Joey Hess <joeyh@debian.org> Thu, 29 May 2014 20:10:59 -0400