view tests/test-inotify-lookup.t @ 20044:d38de18d187a

scmutil: introduce a filecacheentry that can watch multiple paths
author Siddharth Agarwal <sid0@fb.com>
date Sat, 16 Nov 2013 13:24:26 -0800
parents a9e830ecd9fb
children
line wrap: on
line source


  $ "$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
  $ "$TESTDIR/killdaemons.py" .hg/inotify.pid