This documentation is for XNAT versions 1.6.0 - 1.6.5. You can find the latest documentation for XNAT 1.7 at https://xnat.org/documentation
Below is a short comparison between Mercurial and other leading version control systems, highlighting some of the major differences. These comparisons are not exhaustive and are based partly on published differences and partly on personal experience.
If willing to sacrifice the conversion of history, you can simply export the CVS module, and create a new hg repo:
We can convert CVS modules into hg repositories. This operation is intended to be a one-way conversion, such that changes to the hg repository can not be communicated back to the CVS repository. If instead you wish to use hg locally to communicate with a CVS server, look at this Mozilla guide .
We can migrate all the CVS history, including branches and tags, using the Convert Extension.
Add the following to your ~/.hgrc:
Run the following commands to checkout the module, then convert it
The convert command will take a while (>20 minutes) to convert all commits. A new directory will be created, "xdat_release-hg"
We will likely want to map the CVS usernames to new Mercurial usernames using the --authors flag (http:_mercurial.selenic.com-wiki-ConvertExtension) on the hg convert command. To find out the list of distinct users who have committed to CVS, we can run the Churn Extension (http:_mercurial.selenic.com-wiki-ChurnExtension) on the converted repository (the module should be re-exported with the --authors flag set):