Mercurial > hg
view tests/test-revert-flags @ 8069:82e28c7be8fb
inotify: Do not raise TypeError when client.query returns None
When something went wrong in client.query, it returns None.
If inotify.debug=True, we will attempt in this case a zip(A, None, B), which
would raise a TypeError.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Wed, 08 Apr 2009 14:15:18 +0900 |
parents | d0dbae32517c |
children |
line wrap: on
line source
#!/bin/sh "$TESTDIR/hghave" execbit || exit 80 hg init repo cd repo echo foo > foo chmod 644 foo hg ci -qAm '644' chmod 755 foo hg ci -qAm '755' echo '% reverting to rev 0' hg revert -a -r 0 hg st hg diff --git