diff hgext/interhg.py @ 18471:2096e025a728 stable

update: update to current bookmark if it moved out from under us (issue3682) If the current bookmark (the one listed in .hg/bookmarks.current) doesn't point to a parent of the working directory, e.g. if it was moved by a pull, use that as the update target instead of the tipmost descendent. A small predicate is (finally) added to the bookmarks module to check whether the current bookmark is also active.
author Kevin Bullock <kbullock@ringworld.org>
date Mon, 21 Jan 2013 13:47:10 -0600
parents 38caf405d010
children
line wrap: on
line diff