ouvert_a_tous:mercurial:gestion_des_branches:manipulations-de-base

hg update -r numéroDeLaRévision

Exemple

hg update -r 1

ou, si la révision de numéro 1 a été "taggé" avec le tag V0.1 :

hg update V0.1
hg update nomDeLaBranche

Exemple

hg update default
hg branch nomDeLaNouvelleBranche
hg commit -u prenom.nom -m "Création de la branche nomDeLaNouvelleBranche"

Exemple :

hg update -r 1
hg branch prepare-version
hg commit -u prenom.nom -m "Création de la branche prepare-version"
hg branches
  • ouvert_a_tous/mercurial/gestion_des_branches/manipulations-de-base.txt
  • Dernière modification : 2022/12/03 07:45
  • de 127.0.0.1