changeset 11126:f7535c433d22 stable

convert/svn: correctly encode deleted entry paths This recode call was removed in ede2247e61aa, because it looked the encode(decode()) construct was a no-op. In fact, the first decode() call was wrong, and entries still have to be encoded before being passed to the sink.
author Patrick Mezard <pmezard@gmail.com>
date Sun, 09 May 2010 19:11:02 +0200
parents 7a5a98fc38e9
children ab575114ddd8
files hgext/convert/subversion.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/subversion.py	Sun May 09 19:11:02 2010 +0200
+++ b/hgext/convert/subversion.py	Sun May 09 19:11:02 2010 +0200
@@ -663,7 +663,7 @@
                     for child in children:
                         childpath = self.getrelpath("/" + child, pmodule)
                         if childpath:
-                            entries.append(childpath)
+                            entries.append(self.recode(childpath))
                 else:
                     self.ui.debug('unknown path in revision %d: %s\n' % \
                                   (revnum, path))