So new to Mercurial
Michael Smith
michael.smith at thalesatm.com
Thu Jul 5 02:07:40 CDT 2007
Francisco Diaz Trepat - gmail wrote:
> Hi all, I'm glad to be here, mercurial seems pretty nice.
>
> I need to create a repository, as I am developing personal projects.
>
> I didn't want to clone or follow the quick-start. I rather learn slowly.
>
> It's kind of late so I apologise if this is basic.
>
> I didn't seem to find a tutorial like:
>
>
> create new repository
>
> load new repository
>
> How do I create a repository from scratch.
>
> By running hg init?
Yes.
cd ~/your-project
hg init #creates .hg directory
hg add #adds all files in your directory tree to the repository
hg commit -m "my initial delivery"
hg log # will show one revision
hg manifest # list files in repository
# also
hg help
--
Michael Smith | 61 386 304 560
Team Leader, Case and Tools | 61 416 062 898
Thales Australia TCC | S 37.82329
Melbourne, Victoria | E 144.95426
--------------------------------------------
Confidentiality Notice: This e-mail may contain confidential and/or
privileged information and is intended solely for the addressee(s)
named. If you have received this information in error, or are advised
that you have been posted this e-mail by accident, please notify the
sender by return e-mail, do not redistribute it, delete the e-mail and
keep no copies.
More information about the Mercurial
mailing list