Closed icemac closed 7 years ago
I was digging deeper into this issue: The problem is not in the zest.releaser
code. The hgsubversion
extension seems to cause the trouble. Disabling it fixes the issue. See also https://bitbucket.org/durin42/hgsubversion/issues/467/hg-clone-r-broken-when-hgsubversion
I am using
zest.releaser
6.12.3 andmercurial
4.3.1.When using the
release
commandzest.releaser
calls hg like this to create the checkout of the current tag:hg clone -r 6.0.5 <source-path> <dest-path>
(See https://github.com/zestsoftware/zest.releaser/blob/master/zest/releaser/hg.py#L71-L74)On my machine this command results in a checkout having revision
6
as parent of the working directory instead if the revision where which belongs to the tag. This was not always the case. I recently updated hg andzest.releaser
but I cannot remember which versions I used before.A solution could be to call clone without
-r
and later on do ahg update -r <tag>
or to use the hash instead of the tag name if it is available.