monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Strange behaviour when syncing


From: Julio M. Merino Vidal
Subject: Re: [Monotone-devel] Strange behaviour when syncing
Date: Mon, 20 Jun 2005 15:49:32 +0200

On Mon, 2005-06-20 at 22:51 +1000, Robert Leftwich wrote:
> I've been using monotone for a while on my personal projects without a 
> problem. 
> My setup is that I dual boot my laptop between linux (ubuntu) and xp, both of 
> which run monotone 0.18. A w2000 box  also runs monotone 0.18 using the serve 
> option and acts as a central repository. My normal mode of operation is to do 
> some changes, commit and then sync with the repository. If I switch OSes I do 
> a 
> sync then an update to get back 'in sync'. This has worked well for some 
> weeks 
> until yesterday when I did the usual commit and then sync from linux, 
> rebooted 
> into xp, sync-ed, it reported [revs in: 1] as expected but when I ran the 
> update, it reported "monotone: already up to date at ..." which was not the 
> case 
> as the changes had not been made in the xp code base. After spending some 
> time 
> trying to get things up to date via monotone and failing and as I had only 
> made 
> a simple change, I manually re-did it, then spent some time doing new work 
> and 
> committed it. 24 hours or so later I sync'ed with monotone reporting a 
> successful 2 revs out, I booted back into linux and did a sync with the 
> result:
> 
>      monotone: [bytes in: 6553] [bytes out: 1155] [revs in: 1] [revs out: 0]
>      monotone: successful exchange with fastdual
> 
> followed by an update, which reported
> 
>      monotone: already up to date at 56ece60be1a574b54f7e130cd0caf60ed0811ef5
> 
> without actually updating anything.
> 
> Can anyone shed some light on this issue ahd how I go about fixing it?

My guess is that your code diverged at some point and you created two
different heads.  Try 'monotone heads' and see if there is more than
one; if so, just run 'monotone merge' to merge them.

Cheers,

-- 
Julio M. Merino Vidal <address@hidden>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/





reply via email to

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