On Feb 9, 2008 2:49 PM, Kai Antweiler <[EMAIL PROTECTED]> wrote:
> Hi *,
>
> recently some (wrong) extra heads have been created in our repository.
> This happens (e.g.), if you "hg push -f" a revision and someone else
> has pushed before.
>
> If you use "hg push" without "-f", mercurial will warn you and exit in
> such cases.
> Then you can use "hg incoming ...#default" or ("hg pull ...#default"
> and "hg glog -l 4) to see what's wrong.
>
> If you come to the conclusion, that creating a new head is the best thing
> that you can do in this situation, then you can still use "hg push -f".
>
> If you see that someone has pushed a new revision, you problably want to
> merge:
> # hg pull http://hg.globulation2.org/glob2#default
> # hg merge
> # hg commit -m "merged my and xy commits"
> # hg push https://hg.globulation2.org/glob2
>
> If you know beforehand, that you want to create a new head (probably
> due to a new
> named branch), then you should use "hg push -f ..." directly.
> --
> Kai Antweiler
I likely forgot to pull and merge before I pushed recently. I'll take better
care in the future.
--
Extra cheese comes at a cost. Bradley Arsenault.
_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel