view tests/test-inotify-lookup.t @ 14975:b64538363dbe

i18n: use getattr instead of hasattr Using getattr instead of util.safehasattr here to avoid adding another dependency for i18n.
author Augie Fackler <durin42@gmail.com>
date Mon, 25 Jul 2011 20:46:30 -0500
parents 5ae8711ea324
children a9e830ecd9fb
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
  $ kill `cat .hg/inotify.pid`