# # old_revision [512820e126f1c9d6e60612aff1e95f7fe3af983a] # # patch "contrib/usher.cc" # from [599b754c575694458973cf7ecd5be5fd5a03c06d] # to [fe0d5a16bd4b84cf969228c6e05f1cff85614379] # ============================================================ --- contrib/usher.cc 599b754c575694458973cf7ecd5be5fd5a03c06d +++ contrib/usher.cc fe0d5a16bd4b84cf969228c6e05f1cff85614379 @@ -16,7 +16,7 @@ // Usage: usher [-l address[:port]] [-a address:port] [-p pidfile] // // options: -// -m the monotone command, defaults to "monotone" +// -m the monotone command, defaults to "mtn" // -l address and port to listen on, defaults to 0.0.0.0:4691 // -a address and port to listen for admin commands // -p a file (deleted on program exit) to record the pid of the usher in @@ -51,8 +51,8 @@ // A request to server "hostname" will be directed to the // server at :, if that stem is marked as remote, // and to a local server managed by the usher, started with the given -// arguments ("monotone serve --bind=something "), -// if it is marked as local. +// arguments ("mtn serve --bind=something "), if it is +// marked as local. // Note that "hostname" has to be an initial substring of who the client asked // to connect to, but does not have to match exactly. This means that you don't // have to know in advance whether clients will be asking for @@ -161,7 +161,7 @@ // defaults, overridden by command line int listenport = 4691; string listenaddr = "0.0.0.0"; -string monotone = "monotone"; +string monotone = "mtn"; // keep local servers around for this many seconds after the last // client disconnects from them (only accurate to ~10 seconds)