michael@6: Pour cloner un dépôt publique ou privé michael@6: $ hg clone http://hg.domain.tld/depotpublique michael@1: $ hg clone https://user@hg.domain.tld/depotprive michael@1: michael@4: Pour changer le sources: michael@4: $ cd depotprive michael@4: $ echo 'Nochwas' >>irgendwas.txt michael@4: $ hg commit michael@4: $ hg push michael@4: michael@4: Pour aktualiser: michael@4: $ cd depotprive michael@4: $ hg pull michael@4: $ hg update michael@4: michael@4: ...oder einfacher: michael@4: michael@4: $ hg pull -u michael@4: michael@5: Pour mettre à jour ce même dépôt michael@1: $ hg push https://user@hg.domain.tld/depotprive michael@2: abort: 'http://hg.domaine.tld/projet' does not appear to be an hg repository! michael@2: $ chmod 777 -R /home/hg/projet michael@2: $ chown -R wwwdata /home/hg/projet michael@2: michael@2: Ou avec SSH2: michael@3: $ hg clone ssh://vous@ssh.domaine.tld//home/hg/public/projecto michael@3: $ hg push ssh://vous@ssh.domaine.tld//home/hg/public/projeto michael@4: michael@4: ...oder einfacher: michael@4: michael@4: $ cd projecto michael@4: $ hg commit michael@4: $ hg push