1. Augie Fackler
  2. hg-git
  3. Issues
Issue #208 new

all git tags are being treated as global regardless of annotation

Anonymous created an issue

https://www.mercurial-scm.org/wiki/GitConcepts#Tag_model says that annotated git tags are global and that un-annotated tags are local.

An hg repo converted from a git repo marks all tags as global regardless of whether they are annotated in git.

in shell...

hg clone my_git_repo hg_repo

then in python...

import hglib
client = hglib.open("hg_repo")
client.tags()

always has False for islocal ( help(hglib.client.hgclient.tags) shows "Return a list of repository tags as: (name, rev, node, islocal)" ) regardless of whether the git tag was annotated.

I believe the un-annotated ones should have islocal True.

Comments (0)

  1. Log in to comment