monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] fatal: std::logic_error: roster_merge.cc:528: invariant


From: Marcin W. Dąbrowski
Subject: [Monotone-devel] fatal: std::logic_error: roster_merge.cc:528: invariant 'I(left_name == right_name)' violated
Date: Thu, 27 Mar 2008 21:37:48 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

Hi.

Today I was playing with monotone 0.39 a bit, and by a mistake
I've triggered 'something' - maybe a bug, at least monotone says so.

mtn: propagating branch-b -> branch-c
mtn: [left]  ef51f597662dc7f339d4bf38dcbde34f6f08ce33
mtn: [right] 4d781a16a76b290dd997f569783f4f9f2e79e28a
mtn: fatal: std::logic_error: roster_merge.cc:528:
     invariant 'I(left_name == right_name)' violated
mtn: this is almost certainly a bug in monotone.
mtn: please send this error message, the output
     of 'mtn version --full',
mtn: and a description of what you were doing to
     address@hidden

Since picture tells more than words I won't describe exactly what
I was doing. Instead I've made a test case in form of batch file,
and added output from running this batch on my machine (mtn
database, files, etc). All this is zipped, and availabe here:

    http://twine.pl/tmp/mtn-roster-merge-bug.zip (20 KiB)

Outlining the case I can say the following:
- create a directory, commit to master branch
- rename directory, commit to branch-a
- on master, add a file to directory, commit to branch-b
- on master, add the same file name, commit to branch-c
- propagate branch-a branch-c - success
- propagate branch-b branch-c - failure

The question is - why monotone won't say there's a conflict?

Best regards,
-- 
`-:[ Marcin W. Dąbrowski ]-=-[ Visit us at: http://twine.pl/ ]:-.
.-:[ mail: marcin.dabrowski-at-twine,pl ]--[ hacking @ TWINE ]:-'
`-:[ ,,Love is the law. Love under will.''  Aleister Crowley ]:-.
.-:[ pgp fp: Erm, no valid GPG/PGP keys found at the moment. ]:-'




reply via email to

[Prev in Thread] Current Thread [Next in Thread]