Did you put a bookmark on the heads you pushed? git and github requires
that.
/Mads
Mercurial bookmarks usually do the right thing when I do the right
thing, so usually it just works - and that might also explain why it
worked for you last time you tried.
hg-git can't hide completely that there is a git behind it, so in some
cases you must know a bit about how git works so you can work around it.
/Mads
> I had a similar problem to this, and it had something to do with my Bookmarks. If I remember it correctly my "master" bookmark was not tracking the latest changeset, so when I would push it would be pushing three or four changesets back of the tip, which was already on GitHub. It had previously worked without intervention, so I suspect something changed in Mercurial.
>
> I manually moved my master bookmark to the tip changeset and I added this to my .hgrc
>
> [bookmarks]
> track.current = True
As of Mercurial 1.8, bookmarks are in core and there is no longer a track.current setting (the current bookmark _always_ tracks with your commits, i.e. the setting is always true).
pacem in terris / mir / shanti / salaam / heiwa
Kevin R. Bullock
In that case it is not working then, so we probably need to move this to the
main support list?
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php
2011/5/2 lsces <les...@lsces.co.uk>:
I think you need to update to the branch you're going to work on, even
if it is checked out by default as part of the clone, since at clone
time, hg update to default and not to master (or whatever branch
happens to be 'tipmost').
What changed is probably the fact that bookmarks.track.current is no
longer a setting (and is on by default), and as such if you don't
explicitly update to the bookmark (e.g. by updating to a revision
number), it won't track your commits.
It would be nice if someone tried to make hg update to master instead
of default when cloning from git.
HTH,
Abderrahim