diff fetch_command.py @ 112:e58c2f1de059

Fix a regression in converting repositories with files copied in from outside branches/tags/trunk where repo root != project root.
author Augie Fackler <durin42@gmail.com>
date Tue, 25 Nov 2008 16:21:57 -0600
parents 5497d1264b4d
children a0401f6e14dd
line wrap: on
line diff
--- a/fetch_command.py
+++ b/fetch_command.py
@@ -124,7 +124,8 @@ def replay_convert_rev(hg_editor, svn, r
             if p[-1] == '/':
                 dirpath = p[len(rootpath):]
                 files_to_grab.update((dirpath + f for f,k in
-                                      svn.list_files(p, r.revnum) if k == 'f'))
+                                      svn.list_files(dirpath, r.revnum) 
+                                      if k == 'f'))
             else:
                 files_to_grab.add(p[len(rootpath):])
         hg_editor.ui.status('\nFetching files...\n')