monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Using get_branch_key (so usher can start servers)?


From: Jeronimo Pellegrini
Subject: Re: [Monotone-devel] Using get_branch_key (so usher can start servers)?
Date: Sun, 14 May 2006 23:37:47 -0300
User-agent: Mutt/1.5.11+cvs20060403

On Sun, May 14, 2006 at 11:28:49PM -0300, Jeronimo Pellegrini wrote:
> On Sun, May 14, 2006 at 07:32:50PM -0500, Timothy Brownawell wrote:
> > On Sun, 2006-05-14 at 21:05 -0300, Jeronimo Pellegrini wrote:
> > > And how can I tell usher what key monoone should use? I suppose I should 
> > > have
> > > only one key in ~/.monotone so I can use usher?
> > 
> > Umm... pull the latest version and put
> >    monotone "mtn" "-k" "my_key"
> > in the config file? (The -a and -l options are also moved to the config
> > file now, as "listenaddr" and "adminaddr".)
> 
> Hey... It works! 8-)
> Thanks a lot!

However...

It seems that the first server in the file is matched, always.

With this:

============
userpass "jp" "-----"
adminaddr "127.0.0.1:10000"
monotone "mtn" "-kxxxxxxxx"

server "phd"
host "localhost"
pattern   "info.aleph0.phd.*"
local     "-d" "/home/jeronimo/monotone/phd.db" "*"

server "main"
host "localhost"
pattern "info.aleph0.*"
local "-d" "/home/jeronimo/monotone/main.db" "*"

server "zat"
host "localhost"
pattern "zat.*"
local "-d" "/home/jeronimo/monotone/zat.db" "*"
==============

I tried to push a branch named "zat.portuguese", and the server matched
was the first one (phd.db got a new branch, and phd.log had the usual
netsync messages).

I thought that usher would only match the last one (the only one that
matches!)

J.




reply via email to

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