summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4 <https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4@web>2016-01-19 20:05:56 +0000
committerGravatar admin <admin@branchable.com>2016-01-19 20:05:56 +0000
commit2438393786aca0b763e86b098e87a7d2c6589e49 (patch)
tree916a195e5c3d6fa01b344d55fabe8c0ae4c5f5f2
parentc5dc6ecfb249df5122ee5eb1bd0184b685cfcaac (diff)
Added a comment: but works correct in direct mode
-rw-r--r--doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_4_2172459a5100a2ee13356114c166d4e5._comment35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_4_2172459a5100a2ee13356114c166d4e5._comment b/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_4_2172459a5100a2ee13356114c166d4e5._comment
new file mode 100644
index 000000000..480d918fc
--- /dev/null
+++ b/doc/bugs/addurl_--batch_from_url_from_a_custom_special_remote_adds_to_annex_disregarding_largefiles___40__on_first_run__41__/comment_4_2172459a5100a2ee13356114c166d4e5._comment
@@ -0,0 +1,35 @@
+[[!comment format=mdwn
+ username="https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4"
+ subject="but works correct in direct mode"
+ date="2016-01-19T20:05:56Z"
+ content="""
+really sorry for spam ;) but here you go -- works correct in direct mode
+
+[[!format sh \"\"\"
+$ chmod a+w -R /tmp/123; rm -rf /tmp/123; mkdir /tmp/123; cd /tmp/123; git init; git annex init;
+Initialized empty Git repository in /tmp/123/.git/
+init ok
+(recording state in git...)
+
+$ git annex direct
+commit
+On branch master
+
+Initial commit
+
+nothing to commit
+ok
+direct ok
+
+$ git annex initremote datalad-archives externaltype=dl+archive type=external autoenable=true encryption=none
+initremote datalad-archives ok
+(recording state in git...)
+
+$ echo \"http://www.onerussian.com/tmp/README2.rst README2.rst\" | git annex addurl -c annex.largefiles=exclude=*.rst --with-files --json --batch
+{\"command\":\"addurl\",\"file\":\"README2.rst\",\"note\":\"downloading http://www.onerussian.com/tmp/README2.rst ...\",\"success\":true}
+
+$ ls -l
+total 4
+-rw------- 1 yoh yoh 13 Jan 19 14:34 README2.rst
+\"\"\"]]
+"""]]