on Config Mercurial
mpm at selenic.com
Tue Sep 27 21:23:35 CDT 2005
[cc:ed to the mailing list]
On Tue, Sep 27, 2005 at 10:16:27PM -0400, Wenjin hu wrote:
> I am a newbie to mercurial. I have installed a hg server. Now my problem
> is how to run a new repository. On the wiki webpage, it only shows how to
> clone a repository. But I hope to have my repository created. Would you
> give me a sample of hgrc?
To create a new repository, simply run 'hg init' in your project directory.
An empty hgrc is fine. But you can add stuff like the following
(described in doc/hgrc.5.txt):
$ cat .hg/hgrc
name = Mercurial
description = Scalable distributed version control system
author = mpm
allowgz = true
allowbz2 = true
allowzip = true
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial