comparison en/ch01-tour-basic.xml @ 827:d2aacc06e562

Add more paragraph IDs
author Bryan O'Sullivan <bos@serpentine.com>
date Sun, 03 May 2009 20:27:28 -0700
parents a17d6390a480
children
comparison
equal deleted inserted replaced
826:a17d6390a480 827:d2aacc06e562
990 </sect1> 990 </sect1>
991 991
992 <sect1> 992 <sect1>
993 <title>Starting a new project</title> 993 <title>Starting a new project</title>
994 994
995 <para>It is just as easy to begin a new project as to work on one 995 <para id="x_71c">It is just as easy to begin a new project as to work on one
996 that already exists. The <command>hg init</command> command 996 that already exists. The <command>hg init</command> command
997 creates a new, empty Mercurial repository.</para> 997 creates a new, empty Mercurial repository.</para>
998 998
999 &interaction.ch01-new.init; 999 &interaction.ch01-new.init;
1000 1000
1001 <para>This simply creates a repository named 1001 <para id="x_71d">This simply creates a repository named
1002 <filename>myproject</filename> in the current directory.</para> 1002 <filename>myproject</filename> in the current directory.</para>
1003 1003
1004 &interaction.ch01-new.ls; 1004 &interaction.ch01-new.ls;
1005 1005
1006 <para>We can tell that <filename>myproject</filename> is a 1006 <para id="x_71e">We can tell that <filename>myproject</filename> is a
1007 Mercurial repository, because it contains a 1007 Mercurial repository, because it contains a
1008 <filename>.hg</filename> directory.</para> 1008 <filename>.hg</filename> directory.</para>
1009 1009
1010 &interaction.ch01-new.ls2; 1010 &interaction.ch01-new.ls2;
1011 1011
1012 <para>If we want to add some pre-existing files to the repository, 1012 <para id="x_71f">If we want to add some pre-existing files to the repository,
1013 we copy them into place, and tell Mercurial to start tracking 1013 we copy them into place, and tell Mercurial to start tracking
1014 them using the <command>hg add</command> command.</para> 1014 them using the <command>hg add</command> command.</para>
1015 1015
1016 &interaction.ch01-new.add; 1016 &interaction.ch01-new.add;
1017 1017
1018 <para>Once we are satisfied that our project looks right, we 1018 <para id="x_720">Once we are satisfied that our project looks right, we
1019 commit our changes.</para> 1019 commit our changes.</para>
1020 1020
1021 &interaction.ch01-new.commit; 1021 &interaction.ch01-new.commit;
1022 1022
1023 <para>It takes just a few moments to start using Mercurial on a 1023 <para id="x_721">It takes just a few moments to start using Mercurial on a
1024 new project, which is part of its appeal. Revision control is 1024 new project, which is part of its appeal. Revision control is
1025 now so easy to work with, we can use it on the smallest of 1025 now so easy to work with, we can use it on the smallest of
1026 projects that we might not have considered with a more 1026 projects that we might not have considered with a more
1027 complicated tool.</para> 1027 complicated tool.</para>
1028 </sect1> 1028 </sect1>