monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Invariant failure


From: Matt Johnston
Subject: Re: [Monotone-devel] Invariant failure
Date: Tue, 14 Sep 2004 22:20:57 +0800
User-agent: Mutt/1.4i

On Thu, Sep 09, 2004 at 11:16:16PM +0200, Peter Simons wrote:
> Using the latest version from the off.net repository, I get
> the following error:
> 
>   peti:~$ monotone propagate system.home.simons system.home.root 
>   monotone: fetching heads of branch 'system.home.simons'
>   monotone: fetching heads of branch 'system.home.root'
>   monotone: common ancestor
>           943e5b29112c175f33f967548c122494a9da6505 found,
>           trying 3-way merge
>   monotone: discarding debug log
>   monotone: fatal: std::logic_error: patch_set.cc:351:
>           invariant 'I(m_old.find(i->first) != m_old.end())'
>           violated 
> 
> Does anyone have advice on how to proceed?

I hit this one too, IIRC the way to fix it is to remove
rename certs from the database. I ended up just removing
all the rename certs with something (I think) like:

monotone db execute "delete from manifest_certs where name = 'rename'"

That'll lose rename history for affected files though :(
Also probably worth backing up the .db first...

I think the problem has been fixed in current (and probably
the most recent release of) Monotone, so it's only older
renames in the DB causing it. I'm sure someone who knows
more than me can comment.

Matt





reply via email to

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