class Mercurial::Tag
The class represents Mercurial
tag. Obtained by running an +hg tags+ command.
The class represents Tag
object itself, {Mercurial::TagFactory TagFactory} is responsible for assembling instances of Tag
. For the list of all possible tag-related operations please check {Mercurial::TagFactory TagFactory}.
For general information on Mercurial
tags:
Attributes
hash_id[R]
Mercurial
changeset ID of the tag. 40-chars long SHA1 hash.
name[R]
Name of the tag.
repository[R]
Instance of {Mercurial::Repository Repository}.
Public Class Methods
new(repository, name, hash_id)
click to toggle source
# File lib/mercurial-ruby/tag.rb, line 25 def initialize(repository, name, hash_id) @repository = repository @name = name @hash_id = hash_id end