abort: push creates new remote heads!
Joseph Turian
turian at gmail.com
Thu Apr 17 14:30:18 CDT 2008
Could you please explain what is going on here? I would like to understand.
Thanks,
Joseph
On Thu, Apr 17, 2008 at 3:24 PM, Martin Marques <martin at marquesminen.com.ar>
wrote:
> Joseph Turian wrote:
>
> > Help! I am using mercurial to do development with several other persons.
> > I didn't early enough, and now my repository is in a state from which I am
> > not sure how to recover:
> >
> > ==========
> >
> > turian at grenat:~/dev/theano 1$ hg push
> > pushing to ssh://[...]
> > searching for changes
> > abort: push creates new remote heads!
> > (did you forget to merge? use push -f to force)
> > turian at grenat:~/dev/theano 1$ hg pull
> > pulling from ssh://[...]
> > searching for changes
> > adding changesets
> > adding manifests
> > adding file changes
> > added 1 changesets with 1 changes to 1 files (+1 heads)
> > (run 'hg heads' to see heads, 'hg merge' to merge)
> > turian at grenat:~/dev/theano 1$ hg update
> > abort: crosses branches (use 'hg merge' or 'hg update -C' to discard
> > changes)
> > turian at grenat:~/dev/theano 1$ hg merge
> > abort: outstanding uncommitted changes
> >
>
> $ cd ..
> $ hg clone theano theano-merge
> $ cd theano-merge
> $ hg merge
> $ hg ci
> $ cd ../theano
> $ hg pull ../theano-merge
>
> You should be good from there on.
>
>
--
Academic: http://www-etud.iro.umontreal.ca/~turian/
Business: http://www.metaoptimize.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080417/babcfa5a/attachment.htm
More information about the Mercurial
mailing list