doc/manual.docbook
changeset 160 72cb7a42650a
parent 159 609d1d4ec773
child 161 475a05ed5f0e
equal deleted inserted replaced
159:609d1d4ec773 160:72cb7a42650a
    78 <title>Creating repositories</title>
    78 <title>Creating repositories</title>
    79 <para>
    79 <para>
    80 To store a repository on the server, clone it over.
    80 To store a repository on the server, clone it over.
    81 </para>
    81 </para>
    82 <screen><computeroutput>jay@spoon:~$ </computeroutput><userinput>cd myproj</userinput>
    82 <screen><computeroutput>jay@spoon:~$ </computeroutput><userinput>cd myproj</userinput>
    83 <computeroutput>jay@spoon:~/myproj$ </computeroutput><userinput>hg clone . ssh://hg@jeeves/repository/name</userinput>
    83 <computeroutput>jay@spoon:~/myproj$ </computeroutput><userinput>hg clone . ssh://hg@jeeves/jays/project</userinput>
    84 <computeroutput>searching for changes
    84 <computeroutput>searching for changes
    85 remote: adding changesets
    85 remote: adding changesets
    86 remote: adding manifests
    86 remote: adding manifests
    87 remote: adding file changes
    87 remote: adding file changes
    88 remote: added 119 changesets with 284 changes to 61 files
    88 remote: added 119 changesets with 284 changes to 61 files
    89 jay@spoon:~/myproj$ </computeroutput><userinput>hg pull ssh://hg@jeeves/repository/name</userinput>
    89 jay@spoon:~/myproj$ </computeroutput><userinput>hg pull ssh://hg@jeeves/jays/project</userinput>
    90 <computeroutput>pulling from ssh://hg@jeeves/repository/name
    90 <computeroutput>pulling from ssh://hg@jeeves/jays/project
    91 searching for changes
    91 searching for changes
    92 no changes found
    92 no changes found
    93 <computeroutput>jay@spoon:~/myproj$ </computeroutput><userinput>cd ..</userinput>
    93 <computeroutput>jay@spoon:~/myproj$ </computeroutput><userinput>cd ..</userinput>
    94 jay@spoon:~$ </computeroutput></screen>
    94 jay@spoon:~$ </computeroutput></screen>
    95 </section>
    95 </section>
   121 remote: adding file changes
   121 remote: adding file changes
   122 remote: added 1 changesets with 1 changes to 1 files
   122 remote: added 1 changesets with 1 changes to 1 files
   123 jay@spoon:~/hgadmin$ </computeroutput></screen>
   123 jay@spoon:~/hgadmin$ </computeroutput></screen>
   124 <para>
   124 <para>
   125 Sam can now read and write to your
   125 Sam can now read and write to your
   126 <uri>ssh://hg@jeeves/repository/name</uri> repository.
   126 <uri>ssh://hg@jeeves/jays/project</uri> repository.
   127 Most other changes to access control can be made simply by making and
   127 Most other changes to access control can be made simply by making and
   128 pushing changes to <filename
   128 pushing changes to <filename
   129 class='directory'>hgadmin</filename>, and you can use Mercurial to
   129 class='directory'>hgadmin</filename>, and you can use Mercurial to
   130 cooperate with other root users in the normal way.
   130 cooperate with other root users in the normal way.
   131 </para>
   131 </para>