Strange failure with mv and commit

Alexander Belchenko bialix at ukr.net
Sat Jul 4 08:08:29 BST 2009


It looks like one of dirstate bugs seen in the past. I think you have to file bug report, so core
devs will have a chance to fix it before 1.17.

Maritza Mendez пишет:
> 
> 
> On Fri, Jul 3, 2009 at 7:00 PM, Maritza Mendez <martitzam at gmail.com
> <mailto:martitzam at gmail.com>> wrote:
> 
>     Ok.  This is just too creepy.
> 
>     <snip>
> 
> 
> Forgot myself:
> 
> Platform is ubuntu januty, pyton is 2.6.2, bzr is 1.16.1.
> 
> So we're seeing this on both WinXP and linux and with at least two
> versions of python.
> 
> 
> The traceback follows.  The file has zero length because I used 'touch'
> but this is not relevant to the report.
> 
> [15575] 2009-07-03 19:20:06.957 INFO: aborting commit write group:
> DuplicateFileId(File id {2-20090704021957-hr4tovbq40tdm0ia-1} already
> exists in inventory as
> InventoryFile('2-20090704021957-hr4tovbq40tdm0ia-1', '1',
> parent_id='TREE_ROOT', sha1='da39a3ee5e6b4b0d3255bfef95601890afd80709',
> len=0, revision=martitzam at gmail.com-20090704021957-7mpgyrbe5x6nv34l))
> 0.153  Traceback (most recent call last):
>   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 729,
> in exception_to_return_code
>     return the_callable(*args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 924,
> in run_bzr
>     ret = run(*run_argv)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 560,
> in run_argv_aliases
>     return self.run(**all_cmd_args)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 2937,
> in run
>     exclude=safe_relpath_files(tree, exclude))
>   File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line
> 192, in write_locked
>     result = unbound(self, *args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree_4.py", line
> 226, in commit
>     result = WorkingTree3.commit(self, message, revprops, *args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line
> 192, in write_locked
>     result = unbound(self, *args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/mutabletree.py", line
> 228, in commit
>     *args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/commit.py", line 371, in
> commit
>     self.builder.finish_inventory()
>   File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line
> 212, in finish_inventory
>     self.parents)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line
> 1063, in add_inventory_by_delta
>     basis_inv.apply_delta(delta)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/inventory.py", line
> 1169, in apply_delta
>     self.add(new_entry)
>   File "/usr/lib/python2.6/dist-packages/bzrlib/inventory.py", line
> 1259, in add
>     self._byid[entry.file_id])
> DuplicateFileId: File id {2-20090704021957-hr4tovbq40tdm0ia-1} already
> exists in inventory as
> InventoryFile('2-20090704021957-hr4tovbq40tdm0ia-1', '1',
> parent_id='TREE_ROOT', sha1='da39a3ee5e6b4b0d3255bfef95601890afd80709',
> len=0, revision=martitzam at gmail.com-20090704021957-7mpgyrbe5x6nv34l)




More information about the bazaar mailing list