diff options
author | Joey Hess <joey@kitenet.net> | 2012-06-27 21:11:39 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-06-27 21:11:39 -0400 |
commit | 1f09ae686ef35f8fd2d973754f8e1efd99161f4a (patch) | |
tree | 075394fe7bec7092ef9b609b0d76d6f9bcbfdffc /doc | |
parent | 2d7ebc0582026bc1cadb8812861eb9a6467ba41d (diff) |
update
Diffstat (limited to 'doc')
-rw-r--r-- | doc/design/assistant/inotify.mdwn | 11 | ||||
-rw-r--r-- | doc/design/assistant/syncing.mdwn | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/doc/design/assistant/inotify.mdwn b/doc/design/assistant/inotify.mdwn index 47b8c84a3..f783f9a7d 100644 --- a/doc/design/assistant/inotify.mdwn +++ b/doc/design/assistant/inotify.mdwn @@ -125,6 +125,17 @@ Many races need to be dealt with by this code. Here are some of them. Not a problem; The removal event removes the old file from the index, and the add event adds the new one. +* Symlink appears, but is then deleted before it can be processed. + + Leads to an ugly message, otherwise no problem: + + ./me: readSymbolicLink: does not exist (No such file or directory) + + Here `me` is a file that was in a conflicted merge, which got + removed as part of the resolution. This is probably coming from the watcher + thread, which sees the newly added symlink (created by the git merge), + but finds it deleted (by the conflict resolver) by the time it processes it. + ## done - on startup, add any files that have appeared since last run **done** diff --git a/doc/design/assistant/syncing.mdwn b/doc/design/assistant/syncing.mdwn index 3e90e6b10..8b681ac10 100644 --- a/doc/design/assistant/syncing.mdwn +++ b/doc/design/assistant/syncing.mdwn @@ -17,7 +17,7 @@ all the other git clones, at both the git level and the key/value level. 1. Also, detect if a push failed due to not being up-to-date, pull, and repush. **done** 2. Use a git merge driver that adds both conflicting files, - so conflicts never break a sync. + so conflicts never break a sync. **done** 3. Investigate the XMPP approach like dvcs-autosync does, or other ways of signaling a change out of band. 4. Add a hook, so when there's a change to sync, a program can be run |