diff options
author | arand <arand@web> | 2013-12-27 17:48:20 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2013-12-27 17:48:20 +0000 |
commit | fca12149375a6189638dd5508d82bdbddcc01e95 (patch) | |
tree | b6662a492855376744821e07ae4cf016ce69cdac /doc | |
parent | d8a9cf28fbfa8d8720d2bfd03b0ebe510ad3c3e5 (diff) |
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/sync_command_tries_to_connect_new_remote_despite_not_being_asked_to.mdwn | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/bugs/sync_command_tries_to_connect_new_remote_despite_not_being_asked_to.mdwn b/doc/bugs/sync_command_tries_to_connect_new_remote_despite_not_being_asked_to.mdwn new file mode 100644 index 000000000..014288d5f --- /dev/null +++ b/doc/bugs/sync_command_tries_to_connect_new_remote_despite_not_being_asked_to.mdwn @@ -0,0 +1,44 @@ +### Please describe the problem. +When adding a new remote which is not accessible (hence still unsynced) git annex tries to connect to it at each remote operation, even if a specific other remote is given for the command. + +### What steps will reproduce the problem? +<pre> +git init 1 + +cd 1 +git annex init +touch file +git annex add file +git commit -m"a file" + +git clone . ../2 + +git remote add 2 ../2 +git annex sync 2 +</pre> +At this point annex syncs with remote "2" and nothing else + +But if adding a (currently) unaccessible remote +<pre> +git remote add bad nobody@offline.local:nothing +git annex sync 2 +</pre> +gives +<pre> +ssh: Could not resolve hostname offline.local: Name or service not known +ssh: Could not resolve hostname offline.local: Name or service not known +fatal: Could not read from remote repository. + +Please make sure you have the correct access rights +and the repository exists. +commit ok +pull 2 +ok +push 2 +Everything up-to-date +ok +</pre> +so annex tries to sync with the "bad" remote, even though the command tells it to only sync from "2". I would expect it to only sync with remote "2" in this case. +### What version of git-annex are you using? On what operating system? +git-annex version: 5.20131221 +Debian Sid |