Mercurial > hg
diff mercurial/subrepo.py @ 25684:0f894d2203c8
identify: build the tag list directly instead of using wctx.tags()
The current implementation of workingctx.tags() returns the tags of the parents.
This causes the calculation of {lastesttagdistance} from wdir() to be wrong.
The value when updated to a tag is 0, but updated to the tag's child is 2, the
child of that 3, and so on. This prepares for workingctx.tags() to not report
the parent tags.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 28 Jun 2015 13:22:17 -0400 |
parents | 328739ea70c3 |
children | 7a9ef8608a1d |