enforce-single-head = yes prevents commit, although there are no multiple heads

Sushil Khanchi sushilkhanchi97 at gmail.com
Fri Dec 18 10:29:33 UTC 2020


On Thu, Dec 17, 2020 at 6:45 PM Uwe Brauer <oub at mat.ucm.es> wrote:

>
> > On Thu, Dec 17, 2020 at 2:03 PM Uwe Brauer <oub at mat.ucm.es> wrote:
>
> > Yes, if the working directory parent has an active topic `hg heads` gives
> > an incorrect result. There is a Merge Request to fix this which will be
> > merged soon. See
> > https://foss.heptapod.net/mercurial/evolve/-/merge_requests/286
>
> That also may explain why
> enforce-single-head = yes prevents commit
>
> Also there are no multiple heads?


But you see multiple heads if you check them using a revset? If so, then I
guess it's doing the right thing.
(Ignore `hg heads` for now, as it is buggy.)

>

_______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20201218/1731fe92/attachment-0002.html>


More information about the Mercurial mailing list