maps: fix filemap loading --verbose message

The m.stri('e') was removing the leading 'e' or 'exclude'.
This commit is contained in:
Patrick Mezard 2012-10-14 13:21:03 +02:00
parent 2413c9c6cf
commit 9cd312417e

View File

@ -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)