Mercurial > hg
view tests/test-extra-filelog-entry @ 8320:a1305c1c8d8e
inotify: inotify.server.walk() simplify algorithm
Do not yield (bool, tuple) in a subfunction and check later:
'if not bool: yield tuple'.
Instead simplify so the tuple doesnt get yielded on the first time, to avoid
systematic checks.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Mon, 04 May 2009 16:57:52 +0900 |
parents | b51a8138292a |
children |
line wrap: on
line source
#!/bin/sh # # test for issue351 # Environement setup for MQ echo "[extensions]" >> $HGRCPATH echo "mq=" >> $HGRCPATH #Repo init hg init hg qinit echo b > b hg ci -A -m foo echo cc > b hg qnew -f foo.diff echo b > b hg qrefresh hg debugindex .hg/store/data/b.i