checkout to another machine fails with 'Parent does not exist'

Alexander Belchenko bialix at ukr.net
Thu Dec 14 15:29:03 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I try to make checkout from my machine to another over sftp:

$ bzr co --lightweight . sftp://XXX.XXX.XXX.XXX/~/src/project

and got error:

Parent of "sftp://XXX.XXX.XXX.XXX/~/src/project" does not exist.

On remote machine bzr is not installed.
On local machine installed bzr 0.12.
Both local and remote machines are running on Linux.

Traceback from .bzr.log:

encoding stdout as sys.stdout encoding 'KOI8-R'
got branch format Bazaar-NG Metadir branch format 5
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 623, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 585, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 291, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 806, in run
    raise errors.BzrCommandError('Parent of "%s" does not exist.'
BzrCommandError: Parent of "sftp://XXX.XXX.XXX.XXX/~/src/project" does not exist.

return code 3


Note that push to this location works OK.
But I cannot create working tree on remote machine because I don't have bzr there
because remote machine has only python 2.3.

I make test on win32 and have another error:
bzr: ERROR: [Errno 22] Invalid argument

Here traceback:

Traceback (most recent call last):
  File "D:\Bazaar\sandbox\bzr.dev\bzrlib\commands.py", line 637, in run_bzr_catch_errors
    return run_bzr(argv)
  File "D:\Bazaar\sandbox\bzr.dev\bzrlib\commands.py", line 599, in run_bzr
    ret = run(*run_argv)
  File "D:\Bazaar\sandbox\bzr.dev\bzrlib\commands.py", line 292, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "D:\Bazaar\sandbox\bzr.dev\bzrlib\builtins.py", line 837, in run
    os.mkdir(to_location)
OSError: [Errno 22] Invalid argument


Looking at the help of checkout command it's not clear that checkout argument
TO_LOCATION should be *only* local filepath. Do I need file a bug report?


Alexander

P.S. Does anyone try to create standalone bzr executable for Linux?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFgW2/zYr338mxwCURAgJ+AJ9UNAVFLfinC33Cyw69ZXv7xd7+ZQCeKFqL
Ft1Uc/US4Dj0SDsL9QfMdVM=
=228a
-----END PGP SIGNATURE-----




More information about the bazaar mailing list