re-create branch from rich-root-pack repo to pack-0.92 repo

Ben Finney bignose+hates-spam at benfinney.id.au
Fri Mar 6 13:03:05 GMT 2009


Ian Clatworthy <ian.clatworthy at internode.on.net> writes:

> Ben Finney wrote:
> 
> >   File "/home/bignose/.bazaar/plugins/fastimport/revision_store.py", line 211, in get_file_lines
> >     w = self.repo.weave_store.get_weave(ie.file_id, tx)
> > NameError: global name 'ie' is not defined
> 
> Fixed in rev 138.

$ (cd ~/.bazaar/plugins/fastimport/ && bzr update)
 M  bzr_commit_handler.py
 M  processors/generic_processor.py
 M  revision_store.py
All changes applied successfully.
Updated to revision 140.


Next problem (which cunningly forces me to reveal the actual branch
names involved, instead of the placeholders used earlier):

=====
$ bzr info ../../be.debian/
Repository checkout (format: rich-root-pack)
Location:
  repository checkout root: /home/bignose/Projects/debian/be.debian
        checkout of branch: bzr+ssh://bzr.debian.org/bzr/collab-maint/bugs-everywhere/be.debian/
         shared repository: /home/bignose/Projects

$ bzr info .
Repository tree (format: pack-0.92)
Location:
  shared repository: /home/bignose/Projects/debian/bugs-everywhere
  repository branch: .

$ (cd ../../be.debian/ && bzr fast-export .) | bzr fast-import --trees -
bzr fast-export: Fixing recursive rename for Bugs-Everywhere-Web/Bugs-Everywhere-Web.egg-info
bzr fast-export: Fixing recursive rename for Bugs-Everywhere-Web/beweb-start.py
bzr fast-export: Fixing recursive rename for Bugs-Everywhere-Web/common.cfg
bzr: ERROR: exceptions.KeyError: 'bewebbugseverywherew-20090306130203-4o6q31ew6qexvowg-166'

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 846, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 797, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/bignose/.bazaar/plugins/fastimport/__init__.py", line 209, in run
    params, verbose)
  File "/home/bignose/.bazaar/plugins/fastimport/__init__.py", line 75, in _run
    return proc.process(p.iter_commands)
  File "/home/bignose/.bazaar/plugins/fastimport/processor.py", line 92, in process
    self._process(command_iter)
  File "/home/bignose/.bazaar/plugins/fastimport/processors/generic_processor.py", line 238, in _process
    processor.ImportProcessor._process(self, command_iter)
  File "/home/bignose/.bazaar/plugins/fastimport/processor.py", line 114, in _process
    handler(self, cmd)
  File "/home/bignose/.bazaar/plugins/fastimport/processors/generic_processor.py", line 408, in commit_handler
    handler.process()
  File "/home/bignose/.bazaar/plugins/fastimport/processor.py", line 200, in process
    handler(self, fc)
  File "/home/bignose/.bazaar/plugins/fastimport/bzr_commit_handler.py", line 415, in rename_handler
    self._rename_item(old_path, new_path, self.inventory)
  File "/home/bignose/.bazaar/plugins/fastimport/bzr_commit_handler.py", line 277, in _rename_item
    self.record_rename(old_path, new_path, file_id, ie)
  File "/home/bignose/.bazaar/plugins/fastimport/bzr_commit_handler.py", line 345, in record_rename
    self.inventory.rename(file_id, new_parent_id, new_basename)
  File "/usr/lib/python2.5/site-packages/bzrlib/inventory.py", line 1275, in rename
    file_ie = self._byid[file_id]
KeyError: 'bewebbugseverywherew-20090306130203-4o6q31ew6qexvowg-166'

bzr 1.5 on python 2.5.4 (linux2)
arguments: ['/usr/bin/bzr', 'fast-import', '--trees', '-']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_AU.UTF-8'
plugins:
  builddeb             /usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb [0.95.0dev0]
  bzr_difftools        /home/bignose/.bazaar/plugins/bzr_difftools [0.91.0]
  bzrtools             /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.5.0]
  fastimport           /home/bignose/.bazaar/plugins/fastimport [0.8.0dev0]
  launchpad            /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  loom                 /usr/lib/python2.5/site-packages/bzrlib/plugins/loom [1.4.0dev0]
  pqm                  /usr/lib/python2.5/site-packages/bzrlib/plugins/pqm [1.3.0]
  rebase               /usr/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.3.0]
  stats                /usr/lib/python2.5/site-packages/bzrlib/plugins/stats [unknown]
  svn                  /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [0.4.10]
  upload               /usr/lib/python2.5/site-packages/bzrlib/plugins/upload [0.1.0]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.
bzr: broken pipe
=====

-- 
 \           “If you do not trust the source do not use this program.” |
  `\                                —Microsoft Vista security dialogue |
_o__)                                                                  |
Ben Finney




More information about the bazaar mailing list