bugfix: Running copy --to
when both local and remote had the key dropped it from local.
This commit is contained in:
parent
71a8278f9c
commit
e43d4730c5
2 changed files with 4 additions and 2 deletions
|
@ -89,7 +89,7 @@ toPerform move key = do
|
||||||
if ok
|
if ok
|
||||||
then return $ Just $ toCleanup move remote key
|
then return $ Just $ toCleanup move remote key
|
||||||
else return Nothing -- failed
|
else return Nothing -- failed
|
||||||
Right True -> return $ Just $ Command.Drop.cleanup key
|
Right True -> return $ Just $ toCleanup move remote key
|
||||||
toCleanup :: Bool -> Git.Repo -> Key -> CommandCleanup
|
toCleanup :: Bool -> Git.Repo -> Key -> CommandCleanup
|
||||||
toCleanup move remote key = do
|
toCleanup move remote key = do
|
||||||
remoteHasKey remote key True
|
remoteHasKey remote key True
|
||||||
|
|
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -9,7 +9,9 @@ git-annex (0.16) UNRELEASED; urgency=low
|
||||||
* Also, add a general guard to detect attempts to record information
|
* Also, add a general guard to detect attempts to record information
|
||||||
about repositories with missing UUIDs.
|
about repositories with missing UUIDs.
|
||||||
* bugfix: Running `move --to` with a non-ssh remote failed.
|
* bugfix: Running `move --to` with a non-ssh remote failed.
|
||||||
* Test suite improvements. Current top-level test coverage: 57%
|
* bugfix: Running `copy --to` when both local and remote had the key
|
||||||
|
dropped it from local.
|
||||||
|
* Test suite improvements. Current top-level test coverage: 62%
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Tue, 04 Jan 2011 17:33:42 -0400
|
-- Joey Hess <joeyh@debian.org> Tue, 04 Jan 2011 17:33:42 -0400
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue