On 11/06/2011 06:49 PM, Pandu Poluan wrote:
> 
> On Nov 4, 2011 10:17 PM, "Michael Orlitzky" <mich...@orlitzky.com
> <mailto:mich...@orlitzky.com>> wrote:
>>
>> On 11/04/2011 11:00 AM, Pandu Poluan wrote:
>> > I'm looking for a nice, lightweight way to implement a Mercurial server.
>> > Somehow, installing a heavyweight webserver just for Mercurial seems
>> > so... wasteful.
>>
>> If it's not for public use, you can clone/pull/whatever over SSH.
>>
> 
> That's news to me... so I don't have to install a Mercurial server at all?
> 

Nope.

  $ hg help urls
  URL Paths

    Valid URLs are of the form:

      local/filesystem/path[#revision]
      file://local/filesystem/path[#revision]
      http://[user[:pass]@]host[:port]/[path][#revision]
      https://[user[:pass]@]host[:port]/[path][#revision]
      ssh://[user[:pass]@]host[:port]/[path][#revision]
  ...


There's a section in there about SSH URLs you'll probably want to read.
You need Mercurial installed on the server machine, and its path
handling is a little weird if you're used to another SCM.

Works fine without a web server, though.

Reply via email to