• Georges Racinet's avatar
    HgGitRepository: low level hg_tag method · 74b64d425d85
    Georges Racinet authored
    This is for now mostly intended as a helper for tests.
    We're using one of the HGitaly tags test to make sure it works,
    and in turn that test gets simplified.
    
    There's a catch: `hg_git_repository.hg_tag` would not
    work before `subject` has been used at least once, so that the
    repository is indeed initialized on disk.
    If we were in need to use `hg_git_repository` here, we'd have
    to switch to `subject!` instead of just `subject`.
    
    --HG--
    branch : heptapod
    74b64d425d85