Bazaar error (case sensitivity conflict?)

Aaron Bentley aaron at aaronbentley.com
Thu Mar 27 12:34:38 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Moore wrote:
> I got this error when pulling from a Subversion repository (a local
> copy of Python's, to be specific, as a test).
> 
> The path conflicts are probably caused by a case sensitivity issue.
> Way back in the history, there were a number of pairs of files in the
> repository with the same name except for case. As I pulled that
> history, the conflict was detected and seemed to have been resolved
> (by naming one of each pair with the suffic .moved). The conflict
> noted here seems to be from when the files had been deleted from the
> repository, with the deletion conflicting somehow with the automatic
> renaming.
> 
> I'm not sure whether that is the cause of the crash, though.

The direct cause of the assertion failure is that pull is trying to
remove the file id from a file with no file id.

I really don't know how we could get there, though.

> Can anybody tell me what the problem is (and if it *is* case
> insensitivity, how I can work around it,

I would try reverting, and if that didn't work, I would try making a
lightweight checkout.

> given that the issue is only
> in history, and not present in recent revisions).

This bug is happening when modifying your local working tree.
Historical data shouldn't matter for that.

> Path conflict: <deleted> / Demo/sgi/video/vinfo.py.moved
> Path conflict: <deleted> / Demo/sgi/video/vtime.py.moved
> Path conflict: <deleted> / Demo/sgi/video/vcopy.py.moved

This conflict here is that you've deleted these files in one place and
renamed them in another place.  Bazaar can't tell that they were
automatically renamed.

> bzr: ERROR: exceptions.AssertionError:
> 
> Traceback (most recent call last):
>   File "bzrlib\commands.pyc", line 834, in run_bzr_catch_errors
>   File "bzrlib\commands.pyc", line 790, in run_bzr
>   File "bzrlib\commands.pyc", line 492, in run_argv_aliases
>   File "bzrlib\builtins.pyc", line 652, in run
>   File "bzrlib\decorators.pyc", line 165, in write_locked
>   File "bzrlib\workingtree.pyc", line 1585, in pull
>   File "bzrlib\merge.pyc", line 1198, in merge_inner
>   File "bzrlib\merge.pyc", line 421, in do_merge
>   File "bzrlib\merge.pyc", line 522, in do_merge
>   File "bzrlib\transform.pyc", line 1198, in apply
>   File "bzrlib\transform.pyc", line 1245, in _apply_removals
> AssertionError
> 
> bzr 1.3 on python 2.5.2.final.0 (win32)
> arguments: ['bzr', 'pull', '--remember', '-r', '38000',
> 'file:///C:/SVN/python/python/trunk']
> encoding: 'cp1252', fsenc: 'mbcs', lang: None
> plugins:
>   launchpad            C:\Apps\Bazaar\plugins\launchpad [unknown]
>   qbzr                 C:\Documents and Settings\Gustav\Application
> Data\bazaar\2.0\plugins\qbzr [0.8.0]
>   svn                  C:\Documents and Settings\Gustav\Application
> Data\bazaar\2.0\plugins\svn [0.4.9]
> *** 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.
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH65Rd0F+nu1YWqI0RAj6LAJ9dB/3Y2LUqzV5QYZq7/f+pxb9dVQCbBlCa
RN0nk+Pp/do9BF9AfcdR/Qk=
=Ptcd
-----END PGP SIGNATURE-----



More information about the bazaar mailing list