bugfix: Running move --to
with a non-ssh remote failed.
This commit is contained in:
parent
e29d237693
commit
71a8278f9c
2 changed files with 6 additions and 2 deletions
|
@ -249,8 +249,11 @@ copyToRemote r key
|
||||||
| not $ Git.repoIsUrl r = do
|
| not $ Git.repoIsUrl r = do
|
||||||
g <- Annex.gitRepo
|
g <- Annex.gitRepo
|
||||||
let keysrc = annexLocation g key
|
let keysrc = annexLocation g key
|
||||||
let keydest = annexLocation r key
|
-- run copy from perspective of remote
|
||||||
liftIO $ copyFile keysrc keydest
|
liftIO $ do
|
||||||
|
a <- Annex.new r []
|
||||||
|
Annex.eval a $ Core.getViaTmp key $ \f ->
|
||||||
|
liftIO $ copyFile keysrc f
|
||||||
| Git.repoIsSsh r = do
|
| Git.repoIsSsh r = do
|
||||||
g <- Annex.gitRepo
|
g <- Annex.gitRepo
|
||||||
let keysrc = annexLocation g key
|
let keysrc = annexLocation g key
|
||||||
|
|
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -8,6 +8,7 @@ git-annex (0.16) UNRELEASED; urgency=low
|
||||||
significant problem, since the remote *did* record that it had the file.
|
significant problem, since the remote *did* record that it had the file.
|
||||||
* 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.
|
||||||
* Test suite improvements. Current top-level test coverage: 57%
|
* Test suite improvements. Current top-level test coverage: 57%
|
||||||
|
|
||||||
-- 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