Part of bzrlib.revisionspec View In Hierarchy
Note that this does not go in the revspec_registry because by definition there is no prefix to identify it. It's solely called from RevisionSpec.from_string() because the DWIMification happen when _match_on is called so the string describing the revision is kept here until needed.
Class Method | append_possible_revspec | Append a possible DWIM revspec. |
Class Method | append_possible_lazy_revspec | Append a possible lazily loaded DWIM revspec. |
Method | _try_spectype | Undocumented |
Method | _match_on | Run the lookup and see what we can get. |
Inherited from RevisionSpec:
Static Method | from_string | Parse a revision spec string into a RevisionSpec object. |
Method | __init__ | Create a RevisionSpec referring to the Null revision. |
Method | in_history | Undocumented |
Method | as_revision_id | Return just the revision_id for this revisions spec. |
Method | as_tree | Return the tree object for this revisions spec. |
Method | __repr__ | Undocumented |
Method | needs_branch | Whether this revision spec needs a branch. |
Method | get_branch | When the revision specifier contains a branch location, return it. |
Method | _match_on_and_check | Undocumented |
Method | _as_revision_id | Implementation of as_revision_id() |
Method | _as_tree | Implementation of as_tree(). |