diff tests/test-inotify @ 9117:a87bc6e2a907

inotify: server: explicitely ignore events in subdirs of .hg/ (issue1735)
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Mon, 13 Jul 2009 21:55:17 +0900
parents f90bbf1ea09f
children 95e1867f765b
line wrap: on
line diff
--- a/tests/test-inotify	Mon Jul 13 16:49:05 2009 +0200
+++ b/tests/test-inotify	Mon Jul 13 21:55:17 2009 +0900
@@ -50,4 +50,24 @@
 hg status
 hg ci -m0
 
+# Test for issue1735: inotify watches files in .hg/merge
+hg st
+
+echo a > a
+
+hg ci -Am a
+hg st
+
+echo b >> a
+hg ci -m ab
+hg st
+
+echo c >> a
+hg st
+
+hg up 0
+hg st
+
+HGMERGE=internal:local hg up
+hg st
 kill `cat hg.pid`