changeset 5694:e9f1a1ccd51b

convert: allow repo root to be matched in filemap For consistency with "rename subdir ." syntax in filemap, also support "rename . subdir".
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 25 Dec 2007 21:14:11 -0800
parents 5d0b94d3ad0c
children 1ce185f3c640
files hgext/convert/filemap.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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:]