monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Re: weird monotone behavior


From: Stephen Leake
Subject: Re: [Monotone-devel] Re: weird monotone behavior
Date: Sun, 12 Dec 2010 04:31:34 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt)

Lapo Luchini <address@hidden> writes:

> Stephen Leake wrote:
>> Hugo Cornelis <address@hidden> writes:
>> 
>>> I have a weird problem with monotone.  It is reporting two heads, but
>>> inspecting the log reveals that there is only one head:
>> 
>> This is fixed in 0.48; upgrade to that, then run 'db regenerate_caches'.
>
> Uh?
> Doesn't "mtn log --last 5" show the current workspace release and some
> of his ancestors?
> And thus, have no reason at all to show the "sister" head release?
> (which would imply descending the tree, not only going up)
>
> I don't understand what "bug" was fixed in 0.48 regarding this. ^_^

There was a bug in the branch heads cache. There is no bug report for
it, but it's in NEWS:

        - In 0.46 and 0.47, monotone could sometimes get confused
          about which revisions were the heads of a particular branch.
          This would happen when a new branch cert was added to a
          revision that was an ancestor of one or more of the current
          heads of the branch, most commonly during netsync when
          multiple people had performed identical merges. This is
          fixed now. 'db check' will identify the problem; if your
          database currently gives incorrect 'heads' results, or 'mtn
          bug' on 'merge', you can fix it by running 'mtn db
          regenerate_caches'.


-- 
-- Stephe



reply via email to

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