b.tag : module documentation

Part of bzrlib

Tag strategies.

These are contained within a branch and normally constructed when the branch is opened. Clients should typically do

Branch.tags.add('name', 'value')
Class DisabledTags Tag storage that refuses to store anything.
Class BasicTags Tag storage in an unversioned branch control file.
Function sort_natural Sort tags, with numeric substrings as numbers.
Function sort_alpha Sort tags lexicographically, in place.
Function sort_time Sort tags by time inline.
Class _Tags No class docstring; 7/9 methods documented
Function _merge_tags_if_possible Undocumented
def _merge_tags_if_possible(from_branch, to_branch, ignore_master=False):
Undocumented
def sort_natural(branch, tags):
Sort tags, with numeric substrings as numbers.
ParametersbranchBranch
tagsList of tuples with tag name and revision id.
def sort_alpha(branch, tags):
Sort tags lexicographically, in place.
ParametersbranchBranch
tagsList of tuples with tag name and revision id.
def sort_time(branch, tags):
Sort tags by time inline.
ParametersbranchBranch
tagsList of tuples with tag name and revision id.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.