"qnew" + "transplant"

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Nov 20 16:07:21 UTC 2012


Hi Benjamin,

In recent Mercurial versions there's a 'graft' command, which does a
very similar thing *and* includes a -e option to optionally edit the
commit message of the newly-copied changesets.

Maybe this helps you do the same with fewer commands.


On Tue, Nov 20, 2012 at 3:13 PM, Benjamin Smedberg <benjamin at smedbergs.us>wrote:

> Is there a shortcut which combines `hg qnew` and `hg transplant`? I often
> find myself backporting patches by doing something like:
>
> hg transplant -s ../trunk-repo csetid
> hg qimport -r.
> hg qref (add backport/approval information to the commit message)
> hg qfin
> hg push
>
> --BDS
>
> ______________________________**_________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/**listinfo/mercurial<http://selenic.com/mailman/listinfo/mercurial>
>



-- 
Giorgos Keramidas; keramida at ceid.upatras.gr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20121120/1fb2139b/attachment-0002.html>


More information about the Mercurial mailing list