b.t._Tags(object) : class documentation

Part of bzrlib.tag View In Hierarchy

Known subclasses: bzrlib.tag.BasicTags, bzrlib.tag.DisabledTags

No class docstring
Method __init__ Undocumented
Method get_tag_dict Return a dictionary mapping tags to revision ids.
Method get_reverse_tag_dict Return a dictionary mapping revision ids to list of tags.
Method merge_to Merge new tags from this tags container into another.
Method set_tag Set a tag.
Method lookup_tag Look up a tag.
Method delete_tag Delete a tag.
Method rename_revisions Replace revision ids according to a rename map.
Method has_tag Undocumented
def __init__(self, branch):
Undocumented
def get_tag_dict(self):
overridden in bzrlib.tag.BasicTags
Return a dictionary mapping tags to revision ids.
def get_reverse_tag_dict(self):
Return a dictionary mapping revision ids to list of tags.
def merge_to(self, to_tags, overwrite=False, ignore_master=False):
Merge new tags from this tags container into another.
Parametersto_tagsTags container to merge into
overwriteWhether to overwrite existing, divergent, tags.
ignore_masterDo not modify the tags in the target's master branch (if any). Default is false (so the master will be updated). New in bzr 2.3.
ReturnsTuple with tag updates as dictionary and tag conflicts
def set_tag(self, tag_name, revision):
overridden in bzrlib.tag.BasicTags
Set a tag.
Parameterstag_nameTag name
revisionRevision id
RaisesGhostTagsNotSupportedif revision is not present in the branch repository
def lookup_tag(self, tag_name):
overridden in bzrlib.tag.BasicTags
Look up a tag.
Parameterstag_nameTag to look up
ReturnsMatching revision id
RaisesNoSuchTagRaised when tag does not exist
def delete_tag(self, tag_name):
overridden in bzrlib.tag.BasicTags
Delete a tag.
Parameterstag_nameTag to delete
RaisesNoSuchTagRaised when tag does not exist
def rename_revisions(self, rename_map):
Replace revision ids according to a rename map.
Parametersrename_mapDictionary mapping old revision ids to new revision ids.
def has_tag(self, tag_name):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2019-09-19 00:36:56.