--- a/hgext/notify.py Thu May 18 11:48:03 2006 -0700 +++ b/hgext/notify.py Fri May 19 14:57:45 2006 -0700 @@ -123,7 +123,7 @@ path = util.pconvert(path) count = self.stripcount - while path and count >= 0: + while count > 0: c = path.find('/') if c == -1: break