monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] resolving name conflicts; implementation


From: Stephen Leake
Subject: Re: [Monotone-devel] resolving name conflicts; implementation
Date: Mon, 18 Aug 2008 07:04:29 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt)

Stephen Leake <address@hidden> writes:

> This is now failing:
>
> 371 resolve_duplicate_name_conflict               FAIL (line 109)
>
> This is because I changed the way suture ancestor node ids are
> handled, and it broke something somewhere. I need to rethink how
> suture ancestor information is stored; the current code and docs are
> not consistent.

I found the immediate cause of this failure.

There are two formats for "changes to rosters" stored in the database;
changesets and roster_deltas.

I'm not clear why we have both.

Changesets are defined by cset.hh struct cset; I added sutures to that
to get the ancestors right.

roster_deltas are defined by roster_delta.cc struct roster_delta_t. I
need to add sutures to that.

These two pieces of code are very similar; perhaps we can merge them
someday.

-- 
-- Stephe




reply via email to

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