EOL Extension breaks hgsubversion

Issue #189 wontfix
Shawn Hoffman
created an issue

the eol extension http://mercurial.selenic.com/wiki/EolExtension causes problems with hgsubversion when eol-ized files are deleted from the svn repo.

See here for the problems it creates: http://groups.google.com/group/hgsubversion/browse_thread/thread/996137ddb89e711e

Comments (6)

  1. Shawn Hoffman reporter

    Hi Dan, I tried your patch but it doesn't seem to change the error at all. Here is the log so we can move away from the google groups thread:

    C:\Users\Shawn\Desktop\dolphin>hg pull --traceback
    pulling from svn+https://dolphin-emu.googlecode.com/svn
    [r5779] Sonicadvance1: [x86-less] More work, NoSDL building. Add PPC arch for b
    Traceback (most recent call last):
      File "mercurial\dispatch.pyo", line 50, in _runcatch
      File "mercurial\dispatch.pyo", line 471, in _dispatch
      File "mercurial\dispatch.pyo", line 341, in runcommand
      File "mercurial\dispatch.pyo", line 522, in _runcommand
      File "mercurial\dispatch.pyo", line 476, in checkargs
      File "mercurial\dispatch.pyo", line 470, in <lambda>
      File "mercurial\util.pyo", line 401, in check
      File "mercurial\extensions.pyo", line 116, in wrap
      File "mercurial\util.pyo", line 401, in check
      File "C:\Program Files (x86)\TortoiseHg\extensions\hgsubversion\wrappers.py", line 415, in generic
      File "mercurial\util.pyo", line 401, in check
      File "mercurial\extensions.pyo", line 116, in wrap
      File "mercurial\util.pyo", line 401, in check
      File "hgext\mq.pyo", line 2670, in mqcommand
      File "mercurial\util.pyo", line 401, in check
      File "mercurial\extensions.pyo", line 116, in wrap
      File "mercurial\util.pyo", line 401, in check
      File "hgext\rebase.pyo", line 519, in pullrebase
      File "mercurial\util.pyo", line 401, in check
      File "mercurial\commands.pyo", line 2419, in pull
      File "C:\Program Files (x86)\TortoiseHg\extensions\hgsubversion\svnrepo.py", line 48, in wrapper
      File "C:\Program Files (x86)\TortoiseHg\extensions\hgsubversion\svnrepo.py", line 63, in pull
      File "C:\Program Files (x86)\TortoiseHg\extensions\hgsubversion\wrappers.py", line 277, in pull
      File "C:\Program Files (x86)\TortoiseHg\extensions\hgsubversion\replay.py", line 176, in convert_rev
      File "C:\Program Files (x86)\TortoiseHg\hgext\eol.py", line 250, in commitctx
      File "mercurial\context.pyo", line 851, in __getitem__
      File "mercurial\context.pyo", line 891, in filectx
      File "C:\Program Files (x86)\TortoiseHg\extensions\hgsubversion\replay.py", line 147, in filectxfn
    IOError: [Errno 2] Source/Core/Common/Src/CDUtils.cpp is deleted
    abort: Source/Core/Common/Src/CDUtils.cpp is deleted
    
  2. Dan Villiom Podlaski Christiansen

    That's sad; I had hoped that it would.

    Strictly speaking, though, this isn't a bug in hgsubversion, but in the EOL extension: it shouldn't be running during pull, as it would interfere with the conversion, resulting in Mercurial changesets that subtly differ from the original Subversion revisions. I'd suggest reporting this to the Mercurial bug tracker; the EOL extension should be clever enough to selectively enable and disable its wrapping whenever necessary.

    I'm putting this issue on hold, for now.

  3. Log in to comment