• [^] # Re: En résumé : Subversion pour faire simple ou Hg/Bzr pour faire puissa

    Posté par . En réponse au journal Quel gestionnaire de révisions pour un "débutant". Évalué à 1.

    j'ajouterai en faveur de Mercurial (hg) que ses commandes sont clonées à partir des commandes CVS. Les outils sont très différents mais les commandes se nomment un peu pareil ce qui permet de rentrer rapidement dans l'outil quand on connait un peu CVS.

    exemple:

    add: add the specified files on the next commit
    annotate: show changeset information per file line
    clone: make a copy of an existing repository
    commit, ci: commit the specified files or all outstanding changes
    diff: diff repository (or selected files)
    export: dump the header and diffs for one or more changesets
    init: create a new repository in the given directory
    log, history: show revision history of entire repository or files
    parents: show the parents of the working dir or revision
    pull: pull changes from the specified source
    push: push changes to the specified destination
    remove, rm: remove the specified files on the next commit
    revert: revert modified files or dirs back to their unmodified states
    serve: export the repository via HTTP
    status, st: show changed files in the working directory
    update, up, checkout, co: update or merge working directory