Mercurial and Git clients can push and pull from this alias URL to interact with this repository. You can change to which repository an alias points by going to the Aliases link on the project page.
Clone a repository
=======================
.. module:: clone.dialog
:synopsis: Dialog used to clone a repository
To clone a repository you have to run the clone dialog.
From the explorer context menu select :menuselection:`TortoiseHg... --> Clone a repository`
-or type :command:`thg clone`.+or type :command:`thg clone`.
.. figure:: figures/clone.png
:alt: Clone dialog
Clone Dialog
-+:guilabel:`Source`
It is the path (or URL) of the repository that will be cloned. Use
the :guilabel:`Browse...` to choose a local folder.
:guilabel:`Destination`
It is the path of destination directory, a folder with the same name
of source repository will be created within this directory.
Under the :guilabel:`Options` expander you will find:
:guilabel:`Clone To Revision`
You can limit the clone up to this revision. Even the tags created
after this revision will not be imported.
:guilabel:`Do not update the new working directory`
If checked, after the clone the working directory will be empty. It
is useful when you have to clone a repository with the purpose of
central repository, or backup, where you have only, in the future,
to *push* and *pull*.
:guilabel:`Use pull protocol to copy metadata`
When the source and destination are on the same filesystem,
Mercurial tries to use hardlinks. Some filesystems, such as AFS
implement hardlink incorrectly, but do not report errors. Use this
option to avoid hardlinks.
:guilabel:`Use uncompressed transfer`
To use uncompressed transfer (fast over LAN).
:guilabel:`Include patch queue`
To also clone an MQ patch repository along with the main repository.
:guilabel:`Use proxy server`
To use the proxy server configured in :menuselection:`TortoiseHg... --> Global Settings --> Proxy`.
This is enabled only if a proxy is configured.
:guilabel:`Remote command`
Specify a Mercurial command to run on the remote side.
From command line
-----------------
The clone tool can be started from command line ::
thg clone
The syntax is ::
thg clone [SOURCE] [DEST]
where [SOURCE] and [DEST] are, the paths of source repository and destination folder.
.. vim: noet ts=4
Attach a Trello Card
Add a tag
Your session has expired
You are no longer logged in. Please log in and try your request again.
Filter RSS Feed
This RSS feed URL allows you to see the contents of your current filter using any feed reader.
This link includes a special authentication token. If you share the URL with anyone else, they can see this RSS feed's activity. You can disable these tokens when needed.
Your current filter is unsaved; changing it won't affect this RSS feed.