Comment 2 for bug 214825

Revision history for this message
Andrew Schulman (andrex) wrote :

I can live with upload not supporting symlinks, because I can work around that. But what's really a problem is that upload crashes when it encounters one:

$ bzr upload
Using saved location: sftp://ck/vservers/iponly167882/trunk/
Uploading .htaccess
Uploading .project
Uploading CHANGELOG.txt
Uploading COPYRIGHT.txt
Uploading INSTALL.mysql.txt
Uploading INSTALL.pgsql.txt
Uploading INSTALL.txt
Uploading LICENSE.txt
Uploading MAINTAINERS.txt
Uploading UPGRADE.txt
Uploading cron.php
bzr: ERROR: exceptions.NotImplementedError: don't known how to upload 'symlink'

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 846, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 797, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 499, in run_argv_aliases
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/upload/", line 121, in run
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/upload/", line 234, in upload_full_tree
    raise NotImplementedError("don't known how to upload %r" % ie.kind)
NotImplementedError: don't known how to upload 'symlink'

bzr 1.5 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'upload', '--full']
encoding: 'ISO-8859-1', fsenc: 'ISO-8859-1', lang: 'en_US'
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.5.0]
  lastlog /home/andrex/.bazaar/plugins/lastlog [unknown]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  push_and_update /home/andrex/.bazaar/plugins/push_and_update [0.2.0dev0]
  upload /usr/lib/python2.5/site-packages/bzrlib/plugins/upload [0.1.0]
  xmloutput /home/andrex/.bazaar/plugins/xmloutput [0.8.0]
*** Bazaar has encountered an internal error.
    Please report a bug at
    including this traceback, and a description of what you
    were doing when the error occurred.