Mercurial > hg-stable
changeset 15107:2433525a9e1e
convert: added bookmarks support in filemap
When using the convert extension from a Mercurial rep. to subset it with
filemap, the bookmarks are not copied. I fixed this by calling the
base.get_bookmarks() from the filemap getbookmarks() instead of returning an
empty dictionary. It should work also for other converters that implement
getbookmarks() (like git). I don't see any drawbacks except that the bookmarks
are always copied (not necessarily wanted all the times).
author | etienne <etienne.desautels@gmail.com> |
---|---|
date | Thu, 15 Sep 2011 15:03:54 -0400 |
parents | 76cd1964519c |
children | 4c1ec0fe59d6 |
files | hgext/convert/filemap.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff