Difference between revisions of "Mercurial/En"
From TuxFamilyFAQ
Jump to navigationJump to searchGuillaumito (talk | contribs) (stub with basic usage... at least how to clone a repository :)) |
Guillaumito (talk | contribs) (Added creation / moderation / destruction stuff (taken from GIT repositories)) |
||
Line 12: | Line 12: | ||
* an [[User/En|user account]] | * an [[User/En|user account]] | ||
* A [[Group/En|moderated project]] | * A [[Group/En|moderated project]] | ||
+ | |||
+ | = Creating the GIT repository = | ||
+ | |||
+ | * Go on the control panel | ||
+ | * Select the project where you want to add a Mercurial repository | ||
+ | * Choose the name of your repository | ||
+ | * Validate | ||
+ | |||
+ | == creating tips == | ||
+ | |||
+ | * Fill the description field to avoid problems with the moderation team ;) | ||
+ | |||
+ | = Moderation = | ||
+ | |||
+ | Your repository will be subject to moderation, see [[Moderation/En|here]] | ||
+ | |||
+ | = How to administrate it (panel) = | ||
+ | |||
+ | On the panel you can choose if you want the repository to be public. | ||
+ | By accepting it, you allow a read-only anonymous login on the repository and you allow viewing it from the web (coming soon) | ||
+ | |||
+ | == Configuration == | ||
+ | |||
+ | == How to handle group rights == | ||
+ | |||
+ | This object can be shared with your group using the [[Acl/En|ACL]] | ||
+ | |||
+ | == How to destroy it == | ||
+ | |||
+ | * Log into the panel | ||
+ | * click on the group corresponding to your project | ||
+ | * click on your Mercurial repository | ||
+ | * click on destroy | ||
= How to use it = | = How to use it = |
Revision as of 06:02, 10 April 2010
Mercurial repository
This page is incomplete ! Feel free to finish it. |
Contents
Description
Mercurial is a distributed version control system.
Dependencies
Creating the GIT repository
- Go on the control panel
- Select the project where you want to add a Mercurial repository
- Choose the name of your repository
- Validate
creating tips
- Fill the description field to avoid problems with the moderation team ;)
Moderation
Your repository will be subject to moderation, see here
How to administrate it (panel)
On the panel you can choose if you want the repository to be public. By accepting it, you allow a read-only anonymous login on the repository and you allow viewing it from the web (coming soon)
Configuration
How to handle group rights
This object can be shared with your group using the ACL
How to destroy it
- Log into the panel
- click on the group corresponding to your project
- click on your Mercurial repository
- click on destroy
How to use it
Basic Operations
Cloning
hg clone ssh://YOURUSER@hg.tuxfamily.org//mercurialroot/YOURPROJECT/REPOSITORYNAME
with YOURUSER, YOURPROJECT and REPOSITORYNAME set to the correct values. The double slash between the domain name and the path is not a typo, without it, Mercurial assumes path to be relative to YOURUSER's home directory.