Mercurial > public > mercurial-scm > hg
diff tests/test-tag.t @ 25688:24cda1dd45ff
workingctx: don't report the tags for its parents
This fixes the bad distance calculation for '{latesttagdistance}' mentioned in
the previous patch.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 28 Jun 2015 13:38:03 -0400 |
parents | 42f3042cc17f |
children | 0fca47b206f6 |
line wrap: on
line diff
--- a/tests/test-tag.t Tue Jun 30 23:34:12 2015 +0800 +++ b/tests/test-tag.t Sun Jun 28 13:38:03 2015 -0400 @@ -416,6 +416,12 @@ $ hg ci -A -m0 adding f0 $ hg tag tbase + $ hg up -qr '.^' + $ hg log -r 'wdir()' -T "{latesttagdistance}\n" + 1 + $ hg up -q + $ hg log -r 'wdir()' -T "{latesttagdistance}\n" + 2 $ cd .. $ hg clone repo-automatic-tag-merge repo-automatic-tag-merge-clone updating to branch default