Mercurial > hg
diff hgext/rebase.py @ 18122:730b769fb634 stable
bookmarks: fix head selection for merge with two bookmarked heads
A type mismatch caused the search for the other head to fail. The code is
fragile, and instead it ended up using the 'first' bookmark head, but the
ordering is undefined and it could thus randomly use the wrong bookmarkhead
and fail with:
$ hg up -q -C e@diverged
$ hg merge
abort: merging with a working directory ancestor has no effect
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 24 Dec 2012 13:26:13 +0100 |
parents | 848345a8d6ad |
children | e8c9b13c7799 |