hg email -B like hg strip -B

David Demelier demelier.david at gmail.com
Fri Feb 3 10:12:15 UTC 2017


Hello,

I've discovered hg strip -B which erase revisions from the given 
bookmark and all its ancestors unless a new bookmark is found.

I pretty like this idea as it's easier for people who use bookmarks.

I think it could be great to implement the same feature with hg email.

For example, given this log:

o  changeset:   2:f4103417588e
|  bookmark:    f1
|  summary:     some other stuff
|
o  changeset:   1:623d98398350
|  summary:     some stuff
|
o  changeset:   0:81c30c1f8c46
|  bookmark:    @
|  summary:     initial import

hg email -B f1 could export revisions 1 and 2.

What do you think?

-- 
David Demelier


More information about the Mercurial mailing list