Convert extension and non-ascii filenames

Yuriy Shevchenko jury.sh at gmail.com
Fri Jan 17 09:18:36 UTC 2014


Hi,

 

I faced a problem trying to convert SVN repository to HG repository.

In SVN repository I have a folder with Cyrillic characters in name.

And I get this error running hg convert:

 

scanning paths:
/trunk/NetWrapper/Src/TestWebApp/App_Data/Converted/│е│-TА│-TБ 5

9/123 (47.97%)

run hg sink post-conversion action

** unknown exception encountered, please report by visiting

** http://mercurial.selenic.com/wiki/BugTracker

** Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]

** Mercurial Distributed SCM (version 2.7)

** Extensions loaded: convert, rebase, transplant, largefiles

Traceback (most recent call last):

  File "hg", line 42, in <module>

  File "mercurial\dispatch.pyo", line 28, in run

  File "mercurial\dispatch.pyo", line 69, in dispatch

  File "mercurial\dispatch.pyo", line 97, in _runcatch

  File "mercurial\dispatch.pyo", line 778, in _dispatch

  File "mercurial\dispatch.pyo", line 549, in runcommand

  File "mercurial\dispatch.pyo", line 869, in _runcommand

  File "mercurial\dispatch.pyo", line 840, in checkargs

  File "mercurial\dispatch.pyo", line 775, in <lambda>

  File "mercurial\util.pyo", line 506, in check

  File "c:\Program Files\TortoiseHg\hgext\convert\__init__.py", line 283, in
con

vert

    return convcmd.convert(ui, src, dest, revmapfile, **opts)

  File "c:\Program Files\TortoiseHg\hgext\convert\convcmd.py", line 525, in
conv

ert

    c.convert(sortmode)

  File "c:\Program Files\TortoiseHg\hgext\convert\convcmd.py", line 439, in
conv

ert

    self.copy(c)

  File "c:\Program Files\TortoiseHg\hgext\convert\convcmd.py", line 381, in
copy

 

    changes = self.source.getchanges(rev)

  File "c:\Program Files\TortoiseHg\hgext\convert\subversion.py", line 410,
in g

etchanges

    files, self.removed, copies = self.expandpaths(rev, paths, parents)

  File "c:\Program Files\TortoiseHg\hgext\convert\subversion.py", line 675,
in e

xpandpaths

    kind = self._checkpath(entrypath, revnum)

  File "c:\Program Files\TortoiseHg\hgext\convert\subversion.py", line 960,
in _

checkpath

    return svn.ra.check_path(self.ra, path.strip('/'), revnum)

  File "libsvn\ra.pyo", line 736, in svn_ra_check_path

svn.core.SubversionException: ("Unable to parse URL
'/svn/FlashApplications/trun

k/NetWrapper/Src/TestWebApp/App_Data/Converted/\xd0\xa5\xd0\xb0\xd1\x80\xd0\
xbc\

xd1\x81/'", 175009)

 

 

Please, suggest what can I do in this situation and finish conversion?

 

 

BR,

Yuriy Shevchenko

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140117/1c0c1ff1/attachment-0002.html>


More information about the Mercurial mailing list