View All Posts. MiCHiLU.com powered by Django ;-)

[Python]: Mercurial をインストールしてみた

Mac OSX 用の パッケージ があったので Mercurial を入れてみた。 QuickStart 。 はやく hgsvn で push ができるようにならないかな。

$ hg --help
Mercurial Distributed SCM

list of commands:

 add          add the specified files on the next commit
 addremove    add all new files, delete all missing files
 annotate     show changeset information per file line
 archive      create unversioned archive of a repository revision
 backout      reverse effect of earlier changeset
 branch       set or show the current branch name
 branches     list repository named branches
 bundle       create a changegroup file
 cat          output the current or given revision of files
 clone        make a copy of an existing repository
 commit       commit the specified files or all outstanding changes
 copy         mark files as copied for the next commit
 diff         diff repository (or selected files)
 export       dump the header and diffs for one or more changesets
 grep         search for a pattern in specified files and revisions
 heads        show current repository heads
 help         show help for a command, extension, or list of commands
 identify     print information about the working copy
 import       import an ordered set of patches
 incoming     show new changesets found in source
 init         create a new repository in the given directory
 locate       locate files matching specific patterns
 log          show revision history of entire repository or files
 manifest     output the current or given revision of the project manifest
 merge        merge working directory with another revision
 outgoing     show changesets not found in destination
 parents      show the parents of the working dir or revision
 paths        show definition of symbolic path names
 pull         pull changes from the specified source
 push         push changes to the specified destination
 recover      roll back an interrupted transaction
 remove       remove the specified files on the next commit
 rename       rename files; equivalent of copy + remove
 revert       revert files or dirs to their states as of some revision
 rollback     roll back the last transaction in this repository
 root         print the root (top) of the current working dir
 serve        export the repository via HTTP
 showconfig   show combined config settings from all hgrc files
 status       show changed files in the working directory
 tag          add a tag for the current or given revision
 tags         list repository tags
 tip          show the tip revision
 unbundle     apply a changegroup file
 update       update working directory
 verify       verify the integrity of the repository
 version      output version and copyright information

use "hg -v help" to show aliases and global options


$ hg -v help
Mercurial Distributed SCM (version 10edaed7f909)

Copyright (C) 2005, 2006 Matt Mackall <mpm@selenic.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

list of commands:

 add:
      add the specified files on the next commit
 addremove:
      add all new files, delete all missing files
 annotate:
      show changeset information per file line
 archive:
      create unversioned archive of a repository revision
 backout:
      reverse effect of earlier changeset
 branch:
      set or show the current branch name
 branches:
      list repository named branches
 bundle:
      create a changegroup file
 cat:
      output the current or given revision of files
 clone:
      make a copy of an existing repository
 commit, ci:
      commit the specified files or all outstanding changes
 copy, cp:
      mark files as copied for the next commit
 diff:
      diff repository (or selected files)
 export:
      dump the header and diffs for one or more changesets
 grep:
      search for a pattern in specified files and revisions
 heads:
      show current repository heads
 help:
      show help for a command, extension, or list of commands
 identify, id:
      print information about the working copy
 import, patch:
      import an ordered set of patches
 incoming, in:
      show new changesets found in source
 init:
      create a new repository in the given directory
 locate:
      locate files matching specific patterns
 log, history:
      show revision history of entire repository or files
 manifest:
      output the current or given revision of the project manifest
 merge:
      merge working directory with another revision
 outgoing, out:
      show changesets not found in destination
 parents:
      show the parents of the working dir or revision
 paths:
      show definition of symbolic path names
 pull:
      pull changes from the specified source
 push:
      push changes to the specified destination
 recover:
      roll back an interrupted transaction
 remove, rm:
      remove the specified files on the next commit
 rename, mv:
      rename files; equivalent of copy + remove
 revert:
      revert files or dirs to their states as of some revision
 rollback:
      roll back the last transaction in this repository
 root:
      print the root (top) of the current working dir
 serve:
      export the repository via HTTP
 showconfig, debugconfig:
      show combined config settings from all hgrc files
 status, st:
      show changed files in the working directory
 tag:
      add a tag for the current or given revision
 tags:
      list repository tags
 tip:
      show the tip revision
 unbundle:
      apply a changegroup file
 update, up, checkout, co:
      update working directory
 verify:
      verify the integrity of the repository
 version:
      output version and copyright information

global options:
 -R --repository      repository root directory or symbolic path name
    --cwd             change working directory
 -y --noninteractive  do not prompt, assume 'yes' for any required answers
 -q --quiet           suppress output
 -v --verbose         enable additional output
    --config          set/override config option
    --debug           enable debugging output
    --debugger        start debugger
    --encoding        set the charset encoding (default: X-MAC-JAPANESE)
    --encodingmode    set the charset encoding mode (default: strict)
    --lsprof          print improved command execution profile
    --traceback       print traceback on exception
    --time            time how long the command takes
    --profile         print command execution profile
    --version         output version information and exit
 -h --help            display help and exit
Fri, 18 May 2007 14:19:40 +0900 source edit
Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.1 Japan License.
View All Posts. MiCHiLU.com powered by Django ;-)