tests/test-inotify-lookup.t
author Bryan O'Sullivan <bryano@fb.com>
Wed, 02 May 2012 17:15:11 -0700
branchstable
changeset 16593 e462313ef1bd
parent 12457 5ae8711ea324
child 18594 a9e830ecd9fb
permissions -rw-r--r--
bisect: save current state before running a command This prevents an external command being run during a bisect from querying stale data.


  $ "$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`