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] Using get_branch_key (so usher can start servers)?

2006-05-14 Thread Jeronimo Pellegrini
Hi. I was trying to configure usher today and everything works fine now until the moment when usher will start mtn serve. The problem is that mtn is always requiring a -k option in the command line: $ mtn serve main.mtn mtn: misuse: you have multiple private keys mtn: misuse: pick one to use for

[Monotone-devel] mtn db info doesn't work for empty databases?

2006-05-14 Thread Jeronimo Pellegrini
Hi. If I run db info on a database that had no commits yet, monotone fails with the (not very informative) message: mtn: error: wanted 1 rows got 0 in query: SELECT node FROM next_roster_node_number Would it be possible to get a better message? Or maybe the command could work for empty

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

2006-05-14 Thread Timothy Brownawell
On Sun, 2006-05-14 at 08:12 -0300, Jeronimo Pellegrini wrote: Hi. I was trying to configure usher today and everything works fine now until the moment when usher will start mtn serve. The problem is that mtn is always requiring a -k option in the command line: $ mtn serve main.mtn mtn:

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

2006-05-14 Thread Jeronimo Pellegrini
On Sun, May 14, 2006 at 01:49:43PM -0500, Timothy Brownawell wrote: On Sun, 2006-05-14 at 08:12 -0300, Jeronimo Pellegrini wrote: function get_branch_key (branchname) return my_key_is_here end And I need to use -k my_key_is_here anyway. How should I use the get_branch_key hook? I

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

2006-05-14 Thread Timothy Brownawell
On Sun, 2006-05-14 at 21:05 -0300, Jeronimo Pellegrini wrote: On Sun, May 14, 2006 at 01:49:43PM -0500, Timothy Brownawell wrote: On Sun, 2006-05-14 at 08:12 -0300, Jeronimo Pellegrini wrote: function get_branch_key (branchname) return my_key_is_here end And I need to use -k

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

2006-05-14 Thread Jeronimo Pellegrini
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

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

2006-05-14 Thread Timothy Brownawell
On Sun, 2006-05-14 at 23:37 -0300, Jeronimo Pellegrini wrote: 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

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

2006-05-14 Thread Timothy Brownawell
On Sun, 2006-05-14 at 22:03 -0500, Timothy Brownawell wrote: What was the command line for the client? Or, um, the default host and include pattern (from ls vars), if those weren't on the command line. Tim ___ Monotone-devel mailing list