⇤ ← Revision 1 as of 2009-11-20 09:02:43
Size: 1179
Comment: started hg contains page
|
Size: 1152
Comment: removed duplicate category
|
Deletions are marked like this. | Additions are marked like this. |
Line 39: | Line 39: |
CategoryExtensionsByOthers CategoryExtensionsByOthers | CategoryExtensionsByOthers |
Contains extension
This extension is not distributed with Mercurial.
Author: Christoph Rissner
Extension site: http://bitbucket.org/resi/hg-contains/
Overview
This extension provides a contains command to test whether a changeset is a parent to another one. This can be used to test whether some changeset is contained in a branch or not. There is an option to look for transplanted changesets as well.
Configuration
Configure your .hgrc to enable the extension by adding following lines:
[extensions] contains=/path/to/contains.py
(with the actual path to your file, of course)
Usage
hg contains [-c childrev] [-t] rev This command tests whether the changeset given in 'rev' is a parent to the changeset given in 'child'. If no 'child' revision is given, the current working directory is used. If 'transplants' is given transplanted changesets are followed as well. options: -c --child check relationship to the given child changeset -t --transplants check transplanted changesets