tests/test-inotify-lookup.t
author Thomas Arendsen Hein <thomas@intevation.de>
Thu, 05 May 2011 16:01:09 +0200
branchstable
changeset 14205 7b627923739f
parent 12457 5ae8711ea324
child 18594 a9e830ecd9fb
permissions -rw-r--r--
subrepo: use code from 71ea5b2b9517 only if Python needs it (issue2795) With Python >= 2.6 the original code already works correct, therefore the fix for issue2556 on Python <= 2.5 broke relative subrepositories with newer versions of Python.


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