monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Re: question about multiple syncs (enhancement requ


From: Matthew Welland
Subject: Re: [Monotone-devel] Re: question about multiple syncs (enhancement request?)
Date: Wed, 4 Mar 2009 10:02:31 -0700
User-agent: KMail/1.9.10

On Wednesday 04 March 2009 09:29:37 am Lapo Luchini wrote:
> Matthew Welland wrote:
> > I am running into a similar problem to what Hugo writes below. For me
> > the ideal solution would be a monotone switch that said "sync only
> > branches that exist at both ends. Is there a way to do this with a lua
> > script perhaps?
> >
> > To illustrate:
> >
> > work pc               laptop                   home pc
> > a.b.work              a.b.work
> >                             c.d.home              c.d.home
>
> In a situation quite similar to yours that's what I do:
> I have two repositories/databases on the laptop, e.g.
> ~/.monotone/work.mtn and ~/.monotone/home.mtn
> thus the work and home branches never are in the same DB and don't mix.

Yes, I used that same work around for a while. Because I couldn't easily use 
sync over ssh I switched to using branch patterns. Still a hassle but for 
me a bit easier than separate databases.

However it seems to me that the "sync only branches that already exist at 
both ends" situation is commonly encountered and that a switch to handle it 
would be quite useful to a lot of people.

> % cd work-project
> % mtn sync
> (it does sync with work pc by default)
>
> % cd home-project
> % mtn sync
> (it does sync with home pc by default)
>
> …usually using monotone-over-SSH instead of a server (which I find
> easier to use for one-man-projects).






reply via email to

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