PageRenderTime 25ms CodeModel.GetById 22ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

Plain Text | 59 lines | 45 code | 14 blank | 0 comment | 0 complexity | 8509256817e5fe94c0487043d893f2ca MD5 | raw file
 1Clone a repository
 4.. module:: clone.dialog
 5	:synopsis: Dialog used to clone a repository
 7To clone a repository you have to run the clone dialog.
 8From the explorer context menu select :menuselection:`TortoiseHg... --> Clone a repository`
 9or type :command:`hgtk clone`. 
11.. figure:: figures/clone.png
12	:alt: Clone dialog
14	Clone Dialog
16:guilabel:`Source Path`
17	It is the path (or URL) of the repository that will be cloned. Use
18	the :guilabel:`Browse...` to choose a local folder.
19:guilabel:`Destination Path`
20	It is the path of destination directory, a folder with the same name
21	of source repository will be created within this directory.
23Under the :guilabel:`Advanced options` expander you will find:
25:guilabel:`Clone To Revision`
26	You can limit the clone up to this revision. Even the tags created
27	after this revision will not be imported.
28:guilabel:`do not update the new working directory`
29	If checked, after the clone the working directory will be empty. It
30	is useful when you have to clone a repository with the purpose of
31	central repository, or backup, where you have only, in the future,
32	to *push* and *pull*.
33:guilabel:`use pull protocol to copy metadata`
34	When the source and destination are on the same filesystem,
35	Mercurial tries to use hardlinks. Some filesystems, such as AFS
36	implement hardlink incorrectly, but do not report errors. Use this
37	option to avoid hardlinks.
38:guilabel:`use uncompressed transfer`
39	To use uncompressed transfer (fast over LAN).
40:guilabel:`use proxy server`
41	To use the proxy server configured in :menuselection:`TortoiseHg... --> Global Settings --> Proxy`.
42	This is enabled only if a proxy is configured.
43:guilabel:`Remote Cmd`
44	Specify a Mercurial command to run  on the remote side.
46From command line
49The clone tool can be started from command line ::
51	hgtk clone
53The syntax is ::
55	hgtk clone [SOURCE] [DEST]
57where [SOURCE] and [DEST] are, the paths of source repository and destination folder.
59.. vim: noet ts=4