From a6b4e860c91a7ac8ad16dfe6c62421af875bb89b Mon Sep 17 00:00:00 2001 From: "https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4" Date: Wed, 19 Aug 2015 21:59:09 +0000 Subject: Added a comment: seems just ignore errors while adding urls to "unsupported" urls --- ...ent_1_f0d30a953f072f8d9a929a4a6ba69914._comment | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 doc/bugs/git-annex_drop_fails_to_access_file:__47____47____47___target_URL_on_Windows/comment_1_f0d30a953f072f8d9a929a4a6ba69914._comment diff --git a/doc/bugs/git-annex_drop_fails_to_access_file:__47____47____47___target_URL_on_Windows/comment_1_f0d30a953f072f8d9a929a4a6ba69914._comment b/doc/bugs/git-annex_drop_fails_to_access_file:__47____47____47___target_URL_on_Windows/comment_1_f0d30a953f072f8d9a929a4a6ba69914._comment new file mode 100644 index 000000000..c7de2eb6d --- /dev/null +++ b/doc/bugs/git-annex_drop_fails_to_access_file:__47____47____47___target_URL_on_Windows/comment_1_f0d30a953f072f8d9a929a4a6ba69914._comment @@ -0,0 +1,48 @@ +[[!comment format=mdwn + username="https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4" + subject="seems just ignore errors while adding urls to "unsupported" urls" + date="2015-08-19T21:59:09Z" + content=""" +actually situation is somewhat similar on linux as well in a sense that annex manages to addurl a file using e.g. file:///./data url (not sure even if legit) without puking but contains wrong content (empty): + +[[!format sh \"\"\" + +% mkdir XXX +% cd XXX +% git init; git annex init +Initialized empty Git repository in /tmp/XXX/.git/ +init ok +(recording state in git...) +% echo 123 > data +% git annex addurl --file=annexed file:///./data +addurl annexed (downloading file:///./data ...) + +ok +(recording state in git...) +% cat annexed +% git annex drop annexed +drop annexed (checking file:///./data...) (unsafe) + Could only verify the existence of 0 out of 1 necessary copies + + Rather than dropping this file, try using: git annex move + + (Use --force to override this check, or adjust numcopies.) +failed +git-annex: drop: 1 failed +% git annex addurl --file=annexedfull file://$PWD/data +addurl annexedfull (downloading file:///tmp/XXX/data ...) +######################################################################## 100.0% +ok +(recording state in git...) +% cat annexedfull +123 +% git annex drop annexedfull +drop annexedfull (checking file:///tmp/XXX/data...) ok +(recording state in git...) +% annex version +zsh: command not found: annex +% git annex version +git-annex version: 5.20150812-2 + +\"\"\"]] +"""]] -- cgit v1.2.3