From a085456c76cf4d0419e2b6eec8ad41cd449c2513 Mon Sep 17 00:00:00 2001 From: "https://launchpad.net/~arand" Date: Sun, 10 Mar 2013 21:18:47 +0000 Subject: [PATCH] --- ...47___web_remotes_if_the_file_is_empty.mdwn | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 doc/bugs/get_fails_for_file:__47____47___web_remotes_if_the_file_is_empty.mdwn diff --git a/doc/bugs/get_fails_for_file:__47____47___web_remotes_if_the_file_is_empty.mdwn b/doc/bugs/get_fails_for_file:__47____47___web_remotes_if_the_file_is_empty.mdwn new file mode 100644 index 0000000000..84b107c315 --- /dev/null +++ b/doc/bugs/get_fails_for_file:__47____47___web_remotes_if_the_file_is_empty.mdwn @@ -0,0 +1,21 @@ +###What steps will reproduce the problem? + $ touch /home/arand/empty + $ git annex addurl 'file:///home/arand/empty' + addurl _home_arand_empty (downloading file:///home/arand/empty ...) + + git-annex: /home/arand/tmp/c/.git/annex/tmp/URL--file&c%%%home%arand%empty: getFileStatus: does not exist (No such file or directory) + failed + git-annex: addurl: 1 failed + +###What is the expected output? What do you see instead? +If it is possible to distinguish between empty files and files that just fail to open, it would be nice if Annex were able to handle it, or at least give a more obvious error message. + +###What version of git-annex are you using? On what operating system? + +Debian sid/experimental + + git-annex version: 4.20130227 + local repository version: 4 + default repository version: 3 + supported repository versions: 3 4 + upgrade supported from repository versions: 0 1 2