This commit is contained in:
https://www.google.com/accounts/o8/id?id=AItOawnXybLxkPMYpP3yw4b_I6IdC3cKTD-xEdU 2014-04-27 11:32:16 +00:00 committed by admin
parent 113c0ebdfc
commit 6ac8b236a8

View file

@ -0,0 +1,31 @@
### Please describe the problem.
Running `git-annex enableremote remote` without a suitable key available leaves a partially unconfigured git remote.
Subsequently making the key available and running `git-annex enableremote remote` a second time fails as the remote now partially exists.
Removing the remote with `git remote remove remote` and then re-running `git-annex enable remote` seems to do the trick.
However, I notice that even after syncing my special remotes are missing some details in the git config file - namely the `annex-gcrypt` and `annex-uuid` (there may have been more). I fixed by adding the details from a working repo.
Finally, when I initially created the gcrypt repo (by hand) I specified the remote as a local directory on the machine in question i.e. `gcrypt::/matt/mnt/isilon/rss/zzalsmf3/git-annex/mus` I then decided to make it available and changed it (via `git remote rename` to `gcrypt::ssh://rss/home/matt/mnt/isilon/rss/zzalsmf3/git-annex/mus`. Unfortunately on other machines when I `git enableremote` it recovers the original remote which obviously doesn't work - how can I update this setting?
Phew!
### What steps will reproduce the problem?
### What version of git-annex are you using? On what operating system?
### Please provide any additional information below.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
# End of transcript or log.
"""]]