StopIteration in set_state_from_inventory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Running 'bzr repair-workingtree -force' in a branch that's never been committed to fails like so:
mbp@joy% bzr repair-workingtree --force
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/home/
return the_callable(*args, **kwargs)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
return self._operation
File "/home/
self.cleanups, self.func, *args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
tree.
File "/home/
return unbound(self, *args, **kwargs)
File "/home/
state.
File "/home/
self.
File "/home/
current_new = new_iterator.next()
StopIteration
tags: | added: check-for-breezy |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 04/11/2011 03:11 AM, Martin Pool wrote: StopIteration:
> Public bug reported:
>
> Running 'bzr repair-workingtree -force' in a branch that's never been
> committed to fails like so:
>
>
> mbp@joy% bzr repair-workingtree --force
> bzr: ERROR: exceptions.
>
I believe the code is expecting that you will at least have a root-id.
However, certainly something that could be guarded against.
John enigmail. mozdev. org/
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAk2 kHkoACgkQJdeBCY SNAANqIgCgjpBA1 qxlMDyeMNB2NOxo dR/t wU3x5xuA53RDY9X xE
MtIAnii1hXpuSA8
=gsIa
-----END PGP SIGNATURE-----