convert: allow repo root to be matched in filemap
For consistency with "rename subdir ." syntax in filemap, also support
"rename . subdir".
--- a/hgext/convert/filemap.py Tue Dec 25 18:48:43 2007 +0300
+++ b/hgext/convert/filemap.py Tue Dec 25 21:14:11 2007 -0800
@@ -10,6 +10,7 @@
from common import SKIPREV, converter_source
def rpairs(name):
+ yield '.', name
e = len(name)
while e != -1:
yield name[:e], name[e+1:]