Mon, 22 Sep 2008 12:22:30 +0200
Add several helpful commands and comment thoroughly.
1 Pour cloner un dépôt privé:
2 $ hg clone https://user@hg.domain.tld/depotprive
4 Pour changer le sources:
5 $ cd depotprive
6 $ echo 'Nochwas' >>irgendwas.txt
7 $ hg commit
8 $ hg push
10 Pour aktualiser:
11 $ cd depotprive
12 $ hg pull
13 $ hg update
15 ...oder einfacher:
17 $ hg pull -u
19 Pour mettre à jour ce même dépôt:
20 $ hg push https://user@hg.domain.tld/depotprive
21 abort: 'http://hg.domaine.tld/projet' does not appear to be an hg repository!
22 $ chmod 777 -R /home/hg/projet
23 $ chown -R wwwdata /home/hg/projet
25 Ou avec SSH2:
26 $ hg clone ssh://vous@ssh.domaine.tld//home/hg/public/projecto
27 $ hg push ssh://vous@ssh.domaine.tld//home/hg/public/projeto
29 ...oder einfacher:
31 $ cd projecto
32 $ hg commit
33 $ hg push