--- a/hgext/inhibit.py Thu Jun 04 16:49:16 2015 -0700
+++ b/hgext/inhibit.py Sat Jun 13 11:14:27 2015 -0700
@@ -172,7 +172,7 @@
def inhibitposttransaction(transaction):
# At the end of the transaction we catch all the new visible and
# obsolete commit to inhibit them
- visibleobsolete = repo.revs('(not hidden()) and obsolete()')
+ visibleobsolete = repo.revs('obsolete() - hidden()')
ignoreset = set(getattr(repo, '_rebaseset', []))
visibleobsolete = list(r for r in visibleobsolete if r not in ignoreset)
if visibleobsolete: