[issue754] git convert fails with "Is a directory"

Marti mercurial-bugs at selenic.com
Fri Sep 28 05:42:58 CDT 2007

New submission from Marti <intgr at juffo.org>:

The git repository is at http://www.juffo.org/stuff/rails_git.tar.bz2 (~10MB)

The conversion fails at 3450 revisions to go, with the following exception:
3450 Backed out of script/run portal idea. Muscle memory too deep
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/mercurial/cmdutil.py", line 37, in
    return dispatch(ui, args, argv0=argv0)
  File "/usr/lib64/python2.4/site-packages/mercurial/cmdutil.py", line 364, in
    ret = runcommand(ui, options, cmd, d)
  File "/usr/lib64/python2.4/site-packages/mercurial/cmdutil.py", line 417, in
    return checkargs()
  File "/usr/lib64/python2.4/site-packages/mercurial/cmdutil.py", line 373, in
    return cmdfunc()
  File "/usr/lib64/python2.4/site-packages/mercurial/cmdutil.py", line 358, in
    d = lambda: func(ui, *args, **cmdoptions)
  File "/usr/lib64/python2.4/site-packages/hgext/convert/__init__.py", line 310,
in _convert
  File "/usr/lib64/python2.4/site-packages/hgext/convert/__init__.py", line 217,
in convert
  File "/usr/lib64/python2.4/site-packages/hgext/convert/__init__.py", line 190,
in copy
    self.dest.putfile(f, e, data)
  File "/usr/lib64/python2.4/site-packages/hgext/convert/hg.py", line 28, in putfile
    self.repo.wwrite(f, data, e)
  File "/usr/lib64/python2.4/site-packages/mercurial/localrepo.py", line 473, in
    self.wopener(filename, 'w').write(data)
  File "/usr/lib64/python2.4/site-packages/mercurial/util.py", line 1257, in o
    rename(mktempcopy(f), f)
  File "/usr/lib64/python2.4/site-packages/mercurial/util.py", line 1203, in
    ifp = posixfile(name, "rb")
IOError: [Errno 21] Is a directory: '.../rails_hg/railties/bin/process'
abort: Is a directory: .../rails_hg/railties/bin/process

messages: 4045
nosy: intgr
priority: bug
status: unread
title: git convert fails with "Is a directory"
topic: convert

Mercurial issue tracker <mercurial-bugs at selenic.com>

More information about the Mercurial-devel mailing list