Re: Usher pattern matching (was Re: [Monotone-devel] Usher crashes)

2006-05-14 Thread Jeronimo Pellegrini
On Sat, May 13, 2006 at 11:19:19PM -0500, Timothy Brownawell wrote: On Sat, 2006-05-13 at 23:29 -0300, Jeronimo Pellegrini wrote: And even if I try to make it match against pattern, it fails, because of the way operator== works for struct prefix. Is this intentional? Shouldn't it also do

[Monotone-devel] Usher crashes

2006-05-13 Thread Jeronimo Pellegrini
Hi. I just compiled usher, and started it: $ ./usher -m mtn -kmy_key -a 127.0.0.1:1 usher.cfg usher.cfg has the following: userpass jp no_I_wont_tell_you server phd host localhost pattern info.aleph0.phd* local -d /home/jeronimo/monotone/phd.db server main host localhost

Re: [Monotone-devel] Usher crashes

2006-05-13 Thread Jeronimo Pellegrini
Also... I just realized from the email I sent that usher is also not requiring the USERPASS command befor LIST and STATUS, and probably before any other command. Also, I tried to use a wrong username and password, and usher did not close the connection. J.

Re: [Monotone-devel] Usher crashes

2006-05-13 Thread Timothy Brownawell
On Sat, 2006-05-13 at 12:22 -0300, Jeronimo Pellegrini wrote: Hi. I just compiled usher, and started it: $ ./usher -m mtn -kmy_key -a 127.0.0.1:1 usher.cfg It treats the -m argument as an executable name, not a command line. So it'll be looking for an execuable named mtn -kmy_key, not

Re: [Monotone-devel] Usher crashes

2006-05-13 Thread Jeronimo Pellegrini
On Sat, May 13, 2006 at 06:16:36PM -0500, Timothy Brownawell wrote: On Sat, 2006-05-13 at 12:22 -0300, Jeronimo Pellegrini wrote: Hi. I just compiled usher, and started it: $ ./usher -m mtn -kmy_key -a 127.0.0.1:1 usher.cfg It treats the -m argument as an executable name, not a

Re: [Monotone-devel] Usher crashes

2006-05-13 Thread Jeronimo Pellegrini
Right now I just need to find out why usher can't find the server, but it will eventually work. :-) I found it. If I use: server main host localhost pattern info.aleph0 local -d /home/jeronimo/monotone/main.db * And try to sync brahch: info.aleph0.my_branch Neither if I try: server main

Usher pattern matching (was Re: [Monotone-devel] Usher crashes)

2006-05-13 Thread Jeronimo Pellegrini
OK, I'll compile the problems I found before: If I use: server main host localhost pattern info.aleph0 local -d /home/jeronimo/monotone/main.db * And try to sync brahch info.aleph0.my_branch It won't work. Neither if I try: pattern info.aleph0.* But if I use: pattern

Re: Usher pattern matching (was Re: [Monotone-devel] Usher crashes)

2006-05-13 Thread Timothy Brownawell
On Sat, 2006-05-13 at 23:29 -0300, Jeronimo Pellegrini wrote: OK, I'll compile the problems I found before: If I use: server main host localhost pattern info.aleph0 local -d /home/jeronimo/monotone/main.db * And try to sync brahch info.aleph0.my_branch It won't work.