push with more head on local repo
Jamie Webb
j at jwebb.sygneca.com
Tue May 20 23:13:09 UTC 2008
On 2008-05-20 17:39:32 Martin Marques wrote:
> If I push changesets from my local repo to my main repository, and I
> have an extra head, I get an abort like this:
>
> $ hg push
> pushing to /home/martin/hg/cursos
> searching for changes
> abort: push creates new remote branches!
> (did you forget to merge? use push -f to force)
>
> I know what it means, but I would like to know what would happen if I
> force the push with -f. Will it just add the new head? That is
> exactly waht I want (the new head is actually a named branch).
Yes, that's right.
/J
More information about the Mercurial
mailing list