From 302f8f9f8be664c784aad0de4702a36289d04dec Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 12 Jul 2013 09:42:41 +0000 Subject: [PATCH] Report bug --- ...ex_add_removes_file_with_no_data_left.mdwn | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 doc/bugs/git_annex_add_removes_file_with_no_data_left.mdwn diff --git a/doc/bugs/git_annex_add_removes_file_with_no_data_left.mdwn b/doc/bugs/git_annex_add_removes_file_with_no_data_left.mdwn new file mode 100644 index 0000000000..a8c261f170 --- /dev/null +++ b/doc/bugs/git_annex_add_removes_file_with_no_data_left.mdwn @@ -0,0 +1,66 @@ +### Please describe the problem. +Using git-annex from Debian (4.20130709), I attempted to add a 410M file named `Expressionlessm.tar`. It acted like it succeed, but the link it created was broken. Other files would add correctly. + +### What steps will reproduce the problem? +I can reliably cause the file to be removed and replaced with a dangling symlink by doing `git annex add Expressionlessm.tar`. The "addition" completes much faster than normal. Using the old version of git-annex that Ubuntu provides (3.20131112ubuntu4), the file adds correctly in at least one place it was having issues. + +### What version of git-annex are you using? On what operating system? +I'm using the version of git-annex from Debian Sid on Ubuntu 13.04 (perhaps that's my issue?) + +### Please provide any additional information below. + +[[!format sh """ +# If you can, paste a complete transcript of the problem occurring here. +# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log + +andrew@andrew-desktop:/media/MainStore/Projects$ git status +# On branch master +# Untracked files: +# (use "git add ..." to include in what will be committed) +# +==========Snip!================= +nothing added to commit but untracked files present (use "git add" to track) + + + +andrew@andrew-desktop:/media/MainStore/Projects$ ls +==========Snip!================= +Expressionlessm.tar +Expressionlessm.tar.bkup +==========Snip!================= + + + +andrew@andrew-desktop:/media/MainStore/Projects$ tar tf Expressionlessm.tar +Expressionlessm/ +==========Snip!================= +# Tar file is valid at this point + + +andrew@andrew-desktop:/media/MainStore/Projects$ git annex add Expressionlessm.tar +add Expressionlessm.tar ok +(Recording state in git...) + + + +andrew@andrew-desktop:/media/MainStore/Projects$ ls +==========Snip!================= +Expressionlessm.tar +Expressionlessm.tar.bkup +==========Snip!================= + + + +andrew@andrew-desktop:/media/MainStore/Projects$ ls -l +==========Snip!================= +lrwxrwxrwx 1 andrew andrew 109 Jul 12 02:29 Expressionlessm.tar -> ../.git/annex/objects/vk/mF/SHA256-s3131909--a2808d850ba2e880ac58bf622cd68edd7e72ea2775b984d52b5d5266c43b03f0 +-rw-rw-r-- 1 andrew andrew 428759040 Jul 10 20:30 Expressionlessm.tar.bkup +==========Snip!================= + + + +andrew@andrew-desktop:/media/MainStore/Projects$ tar tf Expressionlessm.tar +tar: Expressionlessm.tar: Cannot open: No such file or directory +tar: Error is not recoverable: exiting now +# End of transcript or log. +"""]]