summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar https://evandeaubl.startssl.com/ <https://evandeaubl.startssl.com/@web>2013-04-08 02:37:25 +0000
committerGravatar admin <admin@branchable.com>2013-04-08 02:37:25 +0000
commit3f294f803c5886f0e4b440f9ba46e9370e07bd88 (patch)
treebf699ce9ae245e5fc057be0b19d6fea8e037e284 /doc
parent679732c1b727f742ada664d25ed1a528d67a98b2 (diff)
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/Files_disappear_from_locally_paired_annexes_when_edited.mdwn34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/bugs/Files_disappear_from_locally_paired_annexes_when_edited.mdwn b/doc/bugs/Files_disappear_from_locally_paired_annexes_when_edited.mdwn
new file mode 100644
index 000000000..632accb65
--- /dev/null
+++ b/doc/bugs/Files_disappear_from_locally_paired_annexes_when_edited.mdwn
@@ -0,0 +1,34 @@
+**What steps will reproduce the problem?**
+
+Create two annexes from the command line on two separate machines:
+
+ mkdir ~/Files.annex
+ cd ~/Files.annex
+ git init
+ git annex init
+ git annex untrust .
+ git annex direct
+
+Add remote to each one pointing to the other:
+
+ git remote add [remote] [remote hostname]:Files.annex
+
+Start assistant on both repos:
+
+ git annex assistant
+
+Fill one repository with a few text files, and wait for them to propagate.
+
+Edit one of the text files using vim, and save.
+
+**What is the expected output? What do you see instead?**
+
+Edited file should remain in the repo, but a significant portion of the time, the file disappeared from the repo in which it was edited (the file is present and properly synced on the other repo).
+
+**What version of git-annex are you using? On what operating system?**
+
+git-annex 4.20130323, Mac OS X on the repo where the file was edited, Arch Linux for the other paired repo.
+
+**Please provide any additional information below.**
+
+I have observed this problem setting up the repos through the webapp as well, so I don't think it is related to setting up the repos manually. I think the way vim is writing the files seems to be tickling a race condition (both command-line vim and MacVim produce the behavior). I started trying to work around it by switching to emacs to edit those files, and the files haven't disappeared from the edited repo (so far at least).