befehle.txt

Sun, 07 Dec 2008 13:19:16 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sun, 07 Dec 2008 13:19:16 +0100
changeset 6
cec803c23471
parent 5
8bfc07358be1
permissions
-rw-r--r--

Explain new possibility of public repository manipulation.

     1 Pour cloner un dépôt publique ou privé
     2   $ hg clone http://hg.domain.tld/depotpublique
     3   $ hg clone https://user@hg.domain.tld/depotprive
     5 Pour changer le sources:
     6   $ cd depotprive
     7   $ echo 'Nochwas' >>irgendwas.txt
     8   $ hg commit
     9   $ hg push
    11 Pour aktualiser:
    12   $ cd depotprive
    13   $ hg pull
    14   $ hg update
    16 ...oder einfacher:
    18   $ hg pull -u
    20 Pour mettre à jour ce même dépôt
    21   $ hg push https://user@hg.domain.tld/depotprive
    22   abort: 'http://hg.domaine.tld/projet' does not appear to be an hg repository!
    23   $ chmod 777 -R /home/hg/projet
    24   $ chown -R wwwdata /home/hg/projet
    26 Ou avec SSH2:
    27   $ hg clone ssh://vous@ssh.domaine.tld//home/hg/public/projecto
    28   $ hg push ssh://vous@ssh.domaine.tld//home/hg/public/projeto
    30 ...oder einfacher:
    32   $ cd projecto
    33   $ hg commit
    34   $ hg push

mercurial