Be very careful with the hg push -f. It can cause other issues.

Typically, the issue you are seeing is when the local repository is not updated 
from the remote repository.

Try hg pull and make sure you have all the changes. Do not try to push 
published (or publishing) changesets that are not at the repo head.

Craig

> On Apr 29, 2025, at 7:06 AM, Uwe Brauer via Mercurial 
> <mercurial@lists.mercurial-scm.org> wrote:
> 
> Hi
> 
> I tried to push and received 
> 
> hg push helix
> pushing to 
> https://UweBrauer@helixteamhub.cloud/uam/projects/HG-Bioquim/repositories/mercurial/HG-Bioquim
> searching for changes
> abort: push creates new remote head 0d30bfb88252 on branch 'year-2024-25'
> (merge or see 'hg help push' for details about pushing new heads)
> 
> 
> So far so good, I pulled and merged the head, my graph looks now like 
> 
> ◉  changeset:     1297:989993c13c46
> │╲   tag:           tip
> │ │  Branch:        year-2024-25
> │ │  Author:        Uwe Brauer <o...@mat.ucm.es>
> │ │  Date:          Tue, 29 Apr 2025 14:48:42 +0200
> │ │  Phase:         secret
> │ │  Parent:        1209:273b05441da7
> │ │  Parent:        1296:0d30bfb88252
> │ │  Summary:       Merge tip with revision 1209, which was a topological head
> │ │
> 
> As one could see the heads 0d30bfb88252 and 273b05441da7 are merged,
> 
> However when I try to push I receive the same message, I checked there
> are now other topological heads. So I am puzzled now.
> Hg push -f 
> 
> could be a solution, but this is one of last resorts
> 
> Any ideas?
> 
> -- 
> I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
> I strongly condemn Putin's war of aggression against Ukraine.
> I support to deliver weapons to Ukraine's military. 
> I support the EU and NATO membership of Ukraine. 
> 
> 
> _______________________________________________
> Mercurial mailing list
> Mercurial@lists.mercurial-scm.org
> https://lists.mercurial-scm.org/mailman/listinfo/mercurial

_______________________________________________
Mercurial mailing list
Mercurial@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to