changeset 956:24fbba02cb8f

maps: fix filemap loading --verbose message The m.stri('e') was removing the leading 'e' or 'exclude'.
author Patrick Mezard <patrick@mezard.eu>
date Sun, 14 Oct 2012 13:21:03 +0200
parents c809d9bf42f3
children 397af94ce98c
files hgsubversion/maps.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/maps.py
+++ b/hgsubversion/maps.py
@@ -323,7 +323,7 @@ class FileMap(object):
             msg = 'duplicate %s entry in %s: "%s"\n'
             self.ui.status(msg % (m, fn, path))
             return
-        bits = m.strip('e'), path
+        bits = m.rstrip('e'), path
         self.ui.debug('%sing %s\n' % bits)
         # respect rule order
         mapping[path] = len(self)