monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] sync file-to-file problem


From: Timothy Brownawell
Subject: Re: [Monotone-devel] sync file-to-file problem
Date: Fri, 17 Nov 2006 22:16:01 -0600

On Thu, 2006-11-16 at 11:06 -0800, Nathaniel Smith wrote:
> On Thu, Nov 16, 2006 at 12:21:28PM -0600, Timothy Brownawell wrote:
> > On Thu, 2006-11-16 at 09:14 -0800, Nathaniel Smith wrote:
> > > On Thu, Nov 16, 2006 at 03:03:04PM +0100, mariusz moleda wrote:
> > > >    I have a problem with synchronization between two databases. I make 
> > > > the
> > > >    same projects in work and in home on windows xp sp2. and I cannot
> > > >    synchronize my work and home db.
> > > 
> > > Would it be possible to make these databases available to the
> > > developers, to see if we can track down the problem?  AFAIK other
> > > people have not been having this problem, so I'm not sure how to find
> > > it otherwise.
> > 
> > get_netsync_connect_command() has a "quote_patterns" that is only set
> > when using ssh:// ; the comments say it's to keep the remote shell from
> > doing expansion. But, IIRC on Windows the expansion is done inside
> > Monotone itself. So, we want to also set that for file:// syncs on
> > Windows only. Also, we use '\'' for the quote character, which will
> > result in the '\'' characters still being part of the processed
> > argument; I think we need '"' quotes for them to get stripped (on
> > Windows only, again).
> 
> That sounds plausible.  ...Do we just have no tests that do
> file-to-file syncs with branch wildcards?

...I tried making a test, but it won't fail. Odd, that.

Is there really any need to pass the include/exclude patterns when we
spawn the server? That should be kinda redundant with the client
specifying what it wants.

Maybe this would be a good time to teach 'serve' not to take pattern
arguments at all, and just use the trust hooks?

-- 
Timothy

Free (experimental) public monotone hosting: http://mtn-host.prjek.net





reply via email to

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