/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to cmds.py

  • Committer: Jonathan Paugh
  • Date: 2011-07-09 01:06:48 UTC
  • mto: (0.152.84 trunk)
  • mto: This revision was merged to the branch mainline in revision 6649.
  • Revision ID: jpaugh@gmx.us-20110709010648-lz03pvftifoz91zr
Renamed identifier 'path' to 'relpath' in BzrUploader.upload_full_tree(). Only relpath was defined there, and this caused 'bzr upload --full' to die with error, rather than simply ignoring symlinks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
325
325
                    self.make_remote_dir_robustly(relpath)
326
326
                elif ie.kind == 'symlink':
327
327
                    if not self.quiet:
328
 
                        target = self.tree.path_content_summary(path)[3]
 
328
                        target = self.tree.path_content_summary(relpath)[3]
329
329
                        self.outf.write('Not uploading symlink %s -> %s\n'
330
 
                                        % (path, target))
 
330
                                        % (relpath, target))
331
331
                else:
332
332
                    raise NotImplementedError
333
333
            self.set_uploaded_revid(self.rev_id)