summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4 <https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4@web>2015-08-19 21:59:09 +0000
committerGravatar admin <admin@branchable.com>2015-08-19 21:59:09 +0000
commita6b4e860c91a7ac8ad16dfe6c62421af875bb89b (patch)
tree3b57cc57b5e62022501a9ad44dc77b4cdce9988a
parenta28b45c2e976c04c331a5e761f44ba969b5631ba (diff)
Added a comment: seems just ignore errors while adding urls to "unsupported" urls
-rw-r--r--doc/bugs/git-annex_drop_fails_to_access_file:__47____47____47___target_URL_on_Windows/comment_1_f0d30a953f072f8d9a929a4a6ba69914._comment48
1 files changed, 48 insertions, 0 deletions
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 &quot;unsupported&quot; 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
+
+\"\"\"]]
+"""]]