bzr loomify crashes rather than reporting an error cleanly when run in an SVN repository.

Bug #592644 reported by Joel Cross on 2010-06-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Loom
Medium
Unassigned

Bug Description

While attempting to create a loom in the base of an SVN repository using 'bzr loomify', the command will always fail with the message 'Bazaar has encountered an internal error'. When I use the '--base' option to specify a name, the error given is:
bzr: ERROR: exceptions.AttributeError: can't set attribute

When I do not specify the '--base' option, the error is:
bzr: ERROR: exceptions.AttributeError: 'BranchConfig' object has no attribute 'has_explicit_nickname'

When I run the command 'bzr nick upstream', I receive the same error as when using the --base option.

I am running bzr-loom 2.1.0, although the same error occurred with v1.4.0 (default Lucid version). Output of running 'bzr --version' is as follows:
Bazaar (bzr) 2.1.1
  Python interpreter: /usr/bin/python 2.6.5
  Python standard library: /usr/lib/python2.6
  Platform: Linux-2.6.32-22-generic-i686-with-Ubuntu-10.04-lucid
  bzrlib: /usr/lib/python2.6/dist-packages/bzrlib
  ...

Robert Collins (lifeless) wrote :

Wow, I hadn't anticipated this :)

So, loomify needs to change the format, but it assumes its a shallow change, not a complete history rewrite !

I'm going to change this bug to be 'crashes rather than reporting an error cleanly'.

You should use bzr import-svn or bzr branch svn://foo bar first, and then loomify on the resulting bzr branch.

Cheers,
Rob

Changed in bzr-loom:
status: New → Confirmed
importance: Undecided → Medium
summary: - unable to create loom in SVN repository - raises AttributeError
+ bzr loomify crashes rather than reporting an error cleanly when run in
+ an SVN repository.
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers