Comment 1 for bug 733919

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 733919] [NEW] git-import crashes in makedirs

On Sat, 2011-03-12 at 17:10 +0000, Eli Zaretskii wrote:
> "bzr git-import" almost succeed, but died near the end (while creating
> branches, it seems) with the traceback shown below.
>
> This is bzr 2.3.0 (installed with a stand-alone installer on Windows
> XP), bzr-git 0.5.4 and dulwich 0.7.0.
>
> 478.063 Traceback (most recent call last):
> File "D:\usr\Bazaar\lib\library.zip\bzrlib\commands.py", line 926, in exception_to_return_code
> File "D:\usr\Bazaar\lib\library.zip\bzrlib\commands.py", line 1126, in run_bzr
> File "D:\usr\Bazaar\lib\library.zip\bzrlib\commands.py", line 691, in run_argv_aliases
> File "D:\usr\Bazaar\lib\library.zip\bzrlib\commands.py", line 713, in run
> File "bzrlib\cleanup.pyo", line 135, in run_simple
> File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
> File "D:/usr/Bazaar/plugins\git\commands.py", line 108, in run
> File "os.pyo", line 157, in makedirs
> WindowsError: [Error 3] The system cannot find the path specified: u''

Not sure what's going on, the line before that checks whether the
specified path is actually a directory. It's definitely a Windows
related issue.

I've now switch this code to use Bazaar's transport code, which *should*
fix it. I don't have a Windows machine to verify though. Please reopen
if you can still reproduce it with trunk.

  status fixcommitted
  importance medium
  tags win32

Cheers,

Jelmer