Summary
Specifies a set of revisions, typically used to extract only
a portion of the log, or specifying diff ranges
- Assembly
- Mercurial
.Net .dll - Namespace
- Mercurial
- Interfaces
-
- IEquatable
<T>
- IEquatable
- Base Types
-
- object
graph TD
Base0["object"]-->Type
Interface0["IEquatable<T>"]-.->Type
Type["RevSpec"]
class Type type-node
Syntax
public sealed class RevSpec : IEquatable<RevSpec>
Constructors
| Name | Summary |
|---|---|
| RevSpec |
Initializes a new instance of the RevSpec class.
|
Properties
| Name | Value | Summary |
|---|---|---|
| All | RevSpec |
Gets a
RevSpec object that selects all the changesets in the repository.
static
|
| AllOrNothing | RevSpec |
Gets a
RevSpec that will include all changesets in this set, only if
all changesets specified are present, otherwise it will be an empty set.
|
| Ancestors | RevSpec |
Gets a
RevSpec that selects all changesets that are ancestors of a changeset
in this set.
|
| Bookmarks | RevSpec |
Gets a new
RevSpec that includes all changesets identified by
bookmarks.
static
|
| Branches | RevSpec | |
| Children | RevSpec | |
| Closed | RevSpec |
Gets a
RevSpec object that selects all changesets that close a branch.
static
|
| Descendants | RevSpec |
Gets a
RevSpec that selects all changesets that are descendants of a changeset
in this set.
|
| Heads | RevSpec |
Gets a
RevSpec that selects all changesets that is a named branch head.
static
|
| LeftParent | RevSpec |
Gets a
RevSpec that selects all the left parents of changesets
in this set.
|
| Max | RevSpec |
Gets a new
RevSpec that selects the changeset with the highest revision
number of this set.
|
| Merges | RevSpec |
Gets a
RevSpec that selects all changesets that are merges.
static
|
| Min | RevSpec |
Gets a new
RevSpec that selects the changeset with the lowest revision
number of this set.
|
| Not | RevSpec | |
| Null | RevSpec |
Gets a
RevSpec object that select the null revision, the revision that is
the initial, empty repository, revision, the parent of revision 0.
static
|
| Parents | RevSpec | |
| RightParent | RevSpec |
Gets a
RevSpec that selects all the right parents of changesets
in this set.
|
| Roots | RevSpec |
Gets a
RevSpec object that selects all changesets that has no parents in the set.
|
| Working |
RevSpec |
Gets a
RevSpec object that select the parent revision of the working directory. If an
uncommitted merge is in progress, pick the first parent.
static
|
Methods
| Name | Value | Summary |
|---|---|---|
| Adds |
RevSpec |
Returns a
RevSpec that will include all changesets that add a file
with a name that matches the specified pattern.
static
|
| Affects |
RevSpec |
Returns a
RevSpec that will include all changesets that affects a file
with a name that matches the specified pattern.
static
|
| AncestorsOf |
RevSpec |
Create a
RevSpec that includes the revision
specified and all ancestor revisions.
static
|
| And |
RevSpec |
Selects all changesets that are both in this
RevSpec
and also in revSpec.
|
| Author |
RevSpec |
Selects all changesets committed by the specified name.
static
|
| Bookmark |
RevSpec |
Creates a new
RevSpec that will include the changeset idenfitied by
the specified bookmark name.
static
|
| Bracketed |
RevSpec |
Create a
RevSpec that includes the revisions
specified, and all revisions that are both descendants of
from and ancestors of to
static
|
| ByBranch |
RevSpec |
Select a revision based on its branch name, will select the
tipmost revision that belongs to the named branch.
static
|
| ById |
RevSpec |
Select a revision based on identifying hash prefix.
static
|
| ByRevisionNumber |
RevSpec |
Select a revision based on its revision number.
static
|
| ByTag |
RevSpec |
Select a revision based on tag.
static
|
| ByUser |
RevSpec |
Select all changesets committed by the specified user.
static
|
| CommonAncestorOf |
RevSpec |
Create a
RevSpec that includes the changeset that is the common
ancestor of the two single changeset specifications.
static
|
| Contains |
RevSpec |
Returns a
RevSpec that will include all changesets that contains a file
with a name that matches the specified pattern.
static
|
| DescendantsOf |
RevSpec |
Create a
RevSpec that includes the revision
specified and all descendant revisions.
static
|
| Equals |
bool | |
| Equals |
bool |
Indicates whether the current object is equal to another object of the same type.
|
| Except |
RevSpec |
Select all changesets in this
RevSpec specification, but
not in revSpec.
|
| From |
RevSpec |
Create a
RevSpec that includes a range
of revisions, starting with the specified
RevSpec and runs all the way up to and including
the tip.
static
|
| GetHashCode |
int |
Serves as a hash function for a particular type.
|
| Greatest |
RevSpec |
Create a
RevSpec that includes the greatest common
ancestor of the two changesets.
static
|
| Grep |
RevSpec |
Returns a
RevSpec that will include all changesets that has a commit message,
author name or names of changed files that matches the regular expression pattern.
static
|
| InBranch |
RevSpec |
Select all changesets in the specified branch.
static
|
| Keyword |
RevSpec |
Returns a
RevSpec that will include all changesets that has a commit message,
author name or names of changed files that matches the pattern.
static
|
| Limit |
RevSpec |
Returns a
RevSpec that selects the first "n" changesets of the set.
|
| Modifies |
RevSpec |
Returns a
RevSpec that will include all changesets that modifies a file
with a name that matches the specified pattern.
static
|
| Or |
RevSpec |
Selects all changesets that either in this
RevSpec
or in revSpec.
|
| Outgoing |
RevSpec |
Returns a
RevSpec that selects all changesets not found in the specified
destination repository, or if no path is specified, not found in the default push location.
static
|
| Range |
RevSpec |
Create a
RevSpec that includes a range
of revisions, by simply selecting all changesets that has
a revision number in the specified range.
static
|
| Single |
RevSpec |
Select a revision based on its locally unique revision
number.
static
|
| Single |
RevSpec |
Select a revision based on its globally unique hash.
static
|
| Tagged |
RevSpec |
Returns a
RevSpec that selects all tagged changesets.
static
|
| Tagged |
RevSpec |
Returns a
RevSpec that selects the changeset with the specified tag.
static
|
| To |
RevSpec |
Create a
RevSpec that includes a range
of revisions, starting with the first revision in the
repository, and ending with the specified
RevSpec.
the tip.
static
|
| ToString |
string |
Returns a
string that represents this instance.
|