changeset 2327:185cb7fffbeb

merge with crew.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Fri, 19 May 2006 14:58:13 -0700
parents d0ba2f6b9d97 (diff) c4ea7f927dab (current diff)
children f789602ba840
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/notify.py
+++ b/hgext/notify.py
@@ -123,7 +123,7 @@ class notifier(object):
 
         path = util.pconvert(path)
         count = self.stripcount
-        while path and count >= 0:
+        while count > 0:
             c = path.find('/')
             if c == -1:
                 break