pack error with --2a
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
Doing "bzr pack" twice with --2a format causes pack to always fail.
I am using bzr-1.16 ppa on ubuntu 9.04. Not sure if it matters but duwich
is installed locally.
[bzrtest]% bzr init --2a foo
Created a standalone tree (format: 2a)
[bzrtest]% cd foo
[foo]% echo hello > hello
[foo]% bzr add hello
adding hello
[foo]% bzr ci -m "initial"
Committing to: /home/parthm/
added hello
Committed revision 1.
[foo]% bzr pack
[foo]% bzr pack
bzr: ERROR: Pack '9c2ea49a1740c6
[foo]% bzr log
1 <email address hidden> 2009-06-28
initial
[foo]% bzr pack
bzr: ERROR: Pack '9c2ea49a1740c6
[foo]% bzr version
Bazaar (bzr) 1.16
Python interpreter: /usr/bin/python 2.6.2
Python standard library: /usr/lib/python2.6
bzrlib: /usr/lib/
Bazaar configuration: /home/parthm/
Bazaar log file: /home/parthm/
Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd.
http://
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
[foo]%
Below is the bzr.log:
Sun 2009-06-28 08:50:33 +0530
0.055 bzr arguments: [u'init', u'--2a', u'foo']
0.094 looking for plugins in /home/parthm/
0.232 looking for plugins in /usr/lib/
0.324 encoding stdout as sys.stdout encoding 'UTF-8'
0.340 creating repository in file://
0.346 creating branch <bzrlib.
0.367 trying to create missing lock '/home/
0.367 opening working tree '/home/
0.387 opening working tree '/home/
0.422 return code 0
Sun 2009-06-28 08:50:45 +0530
0.028 bzr arguments: [u'add', u'hello']
0.046 looking for plugins in /home/parthm/
0.137 looking for plugins in /usr/lib/
0.192 encoding stdout as sys.stdout encoding 'UTF-8'
0.242 opening working tree '/home/
0.253 return code 0
Sun 2009-06-28 08:50:50 +0530
0.038 bzr arguments: [u'ci', u'-m', u'initial']
0.057 looking for plugins in /home/parthm/
0.148 looking for plugins in /usr/lib/
0.204 encoding stdout as sys.stdout encoding 'UTF-8'
0.257 opening working tree '/home/
0.276 preparing to commit
[ 6789] 2009-06-28 08:50:50.976 INFO: Committing to: /home/parthm/
0.293 Selecting files for commit with filter []
[ 6789] 2009-06-28 08:50:50.981 INFO: added hello
[ 6789] 2009-06-28 08:50:51.069 INFO: Committed revision 1.
0.396 return code 0
Sun 2009-06-28 08:50:53 +0530
0.029 bzr arguments: [u'pack']
0.047 looking for plugins in /home/parthm/
0.138 looking for plugins in /usr/lib/
0.193 encoding stdout as sys.stdout encoding 'UTF-8'
0.243 Packing repository <bzrlib.
0.244 repacking 1 revisions
0.247 repacking 1 inventories
0.249 repacking chk: 1 id_to_entry roots, 1 p_id_map roots, 2 total keys
0.252 repacking 2 text
0.255 repacking 0 signatures
0.267 return code 0
Sun 2009-06-28 08:50:56 +0530
0.053 bzr arguments: [u'pack']
0.092 looking for plugins in /home/parthm/
0.221 looking for plugins in /usr/lib/
0.276 encoding stdout as sys.stdout encoding 'UTF-8'
0.325 Packing repository <bzrlib.
0.326 repacking 1 revisions
0.329 repacking 1 inventories
0.331 repacking chk: 1 id_to_entry roots, 1 p_id_map roots, 2 total keys
0.334 repacking 2 text
0.336 repacking 0 signatures
0.349 Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
repository.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
packer.pack()
File "/usr/lib/
return self._create_
File "/usr/lib/
self.
File "/usr/lib/
'Pack %r already exists in %s' % (a_new_pack.name, self))
BzrError: Pack '9c2ea49a1740c6
0.349 return code 3
Sun 2009-06-28 08:50:58 +0530
0.053 bzr arguments: [u'log']
0.091 looking for plugins in /home/parthm/
0.198 looking for plugins in /usr/lib/
0.255 encoding stdout as sys.stdout encoding 'UTF-8'
0.358 return code 0
Sun 2009-06-28 08:51:01 +0530
0.048 bzr arguments: [u'pack']
0.068 looking for plugins in /home/parthm/
0.158 looking for plugins in /usr/lib/
0.213 encoding stdout as sys.stdout encoding 'UTF-8'
0.262 Packing repository <bzrlib.
0.263 repacking 1 revisions
0.266 repacking 1 inventories
0.268 repacking chk: 1 id_to_entry roots, 1 p_id_map roots, 2 total keys
0.271 repacking 2 text
0.273 repacking 0 signatures
0.286 Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
repository.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
packer.pack()
File "/usr/lib/
return self._create_
File "/usr/lib/
self.
File "/usr/lib/
'Pack %r already exists in %s' % (a_new_pack.name, self))
BzrError: Pack '9c2ea49a1740c6
0.287 return code 3