tests/test-inotify-lookup.t
author Patrick Mezard <pmezard@gmail.com>
Sun, 01 May 2011 15:51:46 +0200
changeset 14131 03e1c2d35c6a
parent 12457 5ae8711ea324
child 18594 a9e830ecd9fb
permissions -rw-r--r--
graphmod: correctly emit nodes with more than 2 predecessors The grandparent() function was returning only the closest predecessor of a missing parent while it must return all of them to display a correct ancestry graph.


  $ "$TESTDIR/hghave" inotify || exit 80
  $ hg init
  $ echo "[extensions]" > .hg/hgrc
  $ echo "inotify=" >> .hg/hgrc
  $ hg inserve -d --pid-file .hg/inotify.pid
  $ echo a > a
  $ hg ci -Aqm0
  $ hg co -q null
  $ hg co -q
  $ hg st
  $ cat a
  a
  $ kill `cat .hg/inotify.pid`