Class addMercurialSnapshot
source code
action.Action --+
|
action.RecipeAction --+
|
_AnySource --+
|
_Source --+
|
addArchive --+
|
_RevisionControl --+
|
addMercurialSnapshot
NAME
r.addMercurialSnapshot() - Adds a snapshot from
a mercurial repository.
SYNOPSIS
r.addMercurialSnapshot([url,]
[tag=,])
DESCRIPTION
The r.addMercurialSnapshot() class extracts sources
from a mercurial repository, places a tarred, bzipped archive into the
source component, and extracts that into the build directory in a
manner similar to r.addArchive.
KEYWORDS
The following keywords are recognized by
r.addAction:
dir : Specify a directory to change into prior to executing
the command. An absolute directory specified as the dir
value is considered relative to %(destdir)s.
package : (None) If set, must be a string that specifies the
package (package='packagename'), component
(package=':componentname'), or package and component
(package='packagename:componentname') in which to place
the files added while executing this command. Previously-specified
PackageSpec or ComponentSpec lines will
override the package specification, since all package and component
specifications are considered in strict order as provided by the
recipe
tag : Mercurial tag to use for the snapshot.