cannot push pull or fetch to a remote repository.

Uwe Brauer oub at mat.ucm.es
Mon Feb 21 19:51:41 UTC 2022



Hi 

The following is completely bizarre and I am desperate. I have a
repository at the helix to which I have pushed successfully in the past.
However now:

    1. hg push gives
       abort: push creates new remote branches: 2021-22!
       (use 'hg push --new-branch' to create new remote branches)

       a. So far so good, but
          hg push --new-branch gives:
          abort: push creates new remote head 9b275cbfc2b1 on branch '2020-21'!
          (merge or see 'hg help push' for details about pushing new
          heads)

       b. Well, so I run hg pull
          pulling from https://oubsunma4matucmes@helixteamhub.cloud/complu/projects/hgannu/repositories/mercurial/hg-annu
          searching for changes
          no changes found

       c. Excuse me!?

       d. So I run hg fetch
          hg fetch
          abort: working directory not at branch tip 
          (use 'hg update' to check out branch tip)

       e. What the f...

       f. Hg up (or hg up -C for that matter) (ok I end up at tip)

       g. Hg up default

       h. Hg fetch and again the same message.

What the hell.

    1. So I clone the repository and indeed
       on the branch 2020-21  in local repository, there are changesets
       that are not on remote, so it seems I did not push them, but
       created a new branch and added changesets.
       So what shall I do now, strip the whole new branch? It is still
       in draft mode

Uwe Brauer 


          




More information about the Mercurial mailing list