diff fetch_command.py @ 187:68e506bc3a43

fetch_command: fix file exclusion in very stupid mode
author Patrick Mezard <pmezard@gmail.com>
date Wed, 21 Jan 2009 20:10:32 -0600
parents 6266ba36ee15
children f48cd62a9de4
line wrap: on
line diff
--- a/fetch_command.py
+++ b/fetch_command.py
@@ -497,7 +497,7 @@ def stupid_fetch_branchrev(svn, hg_edito
         for path, e in r.paths.iteritems():
             if not path.startswith(branchprefix):
                 continue
-            if not hg_editor._is_path_valid(branchprefix + path):
+            if not hg_editor._is_path_valid(path):
                 continue
             kind = svn.checkpath(path, r.revnum)
             path = path[len(branchprefix):]