Problems with hg push over SSH

Benoit Boissinot bboissin at gmail.com
Tue Aug 28 04:43:37 CDT 2007


On 8/28/07, Imbeault, Jean-Christian <jeanchristian.imbeault at lehman.com> wrote:
>
> I'm new to mercurial and I'm having some problems with hg push using
> SSH.
>
> I've setup a shared repository that I'm pulling from using hg pull
> ssh://...
>
> I've just finished a chunk of work checked it into my local copy of the
> repository. Now I want to push it back to the central repo but I'm
> getting this error (?):
>
> $ hg push
> ssh://aseqdsu@tklxecdev001//home/aseqdsu/mercurial/repository/OES
> aseqdsu at tklxecdev001's password:
> pushing to
> ssh://aseqdsu@tklxecdev001//home/aseqdsu/mercurial/repository/OES
> searching for changes
> abort: push creates new remote branches!
> (did you forget to merge? use push -f to force)
>
> For some reason using -f just doesn't sound right ...
>

You somehow created a new head, merge it before pushing

see http://www.selenic.com/mercurial/wiki/index.cgi/UnderstandingMercurial#head-75349837835f08689995a0777011390ee5dfd90d

regards,

Benoit


More information about the Mercurial mailing list