rspush throws on non-existing parent directory

Matthias Rahlf rahlf at fs.tum.de
Sat Jan 27 20:13:07 GMT 2007


Hi,

I tried to upload a branch to my webserver, where home/user/dir/ does
not exist. It's obvious why bzr failed, but I hereby send the report as
requested. Perhaps it needs a better error message.

greetings, matthias



$ bzr rspush host:dir/subdir
Pushing to host:dir/subdir/
building file list ... done
rsync: mkdir "/home/user/dir/subdir" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(529) [receiver=2.6.9]
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(454)
[sender=2.6.9]
bzr: ERROR: bzrlib.plugins.bzrtools.bzrtools.RsyncStreamIO: Error in
rsync protocol data stream.

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/bzrlib/commands.py", line
650, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/local/lib/python2.5/site-packages/bzrlib/commands.py", line
612, in run_bzr
    ret = run(*run_argv)
  File "/usr/local/lib/python2.5/site-packages/bzrlib/commands.py", line
304, in run_argv_aliases
    return self.run(**all_cmd_args)
  File
"/usr/local/lib/python2.5/site-packages/bzrlib/plugins/bzrtools/__init__.py",
line 655, in run
    working_tree=not no_tree)
  File
"/usr/local/stow/bazaar-dev/lib/python2.5/site-packages/bzrlib/plugins/bzrtools/bzrtools.py",
line 292, in rspush
    excludes=final_exclusions)
  File
"/usr/local/stow/bazaar-dev/lib/python2.5/site-packages/bzrlib/plugins/bzrtools/bzrtools.py",
line 160, in rsync
    raise RsyncStreamIO()
RsyncStreamIO: Error in rsync protocol data stream.

bzr 0.15.0dev0 on python 2.5.0.final.0 (linux2)
arguments: ['/usr/local/bin/bzr', 'rspush', 'host:dir/subdir']

** please send this report to bazaar-ng at lists.ubuntu.com





More information about the bazaar mailing list