monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Re: netsync doesn't do anything


From: Nathaniel Smith
Subject: Re: [Monotone-devel] Re: netsync doesn't do anything
Date: Tue, 5 Apr 2005 04:26:44 -0700
User-agent: Mutt/1.5.8i

On Tue, Apr 05, 2005 at 01:15:43PM +0200, Peter Simons wrote:
> However, the branches
> 
>  >> de.neofonie.home.ps
>  >> de.neofonie.home.root
>  >> de.neofonie.home.simons
> 
> -- which are also in the netsync repository --- will _not_
> get transmitted, no matter what I try. It is my
> understanding that they should be transmitted though.

There is a bug in netsync such that if you have A -> B -> C -> ...
arbitrarily much stuff, and A is in one branch 1 and B, C, etc. are in
branch 2, then netsync'ing branch 2 alone will result in the sort of
behavior you're seeing.

(The problem is that we refuse to store revisions that would break the
following invariant: if we have some revision R in our database, we
also have its parents.  The bug in netsync is that even if we're
transferring R, there's no guarantee that we'll transfer its parents.)

The workaround is to make sure that if you want to pull one revision,
you're also pulling its complete ancestry at the same time.

Does this fix your problems?

-- Nathaniel

-- 
"But in Middle-earth, the distinct accusative case disappeared from
the speech of the Noldor (such things happen when you are busy
fighting Orcs, Balrogs, and Dragons)."




reply via email to

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