patch handling?

Martin Geisler mg at lazybytes.net
Sun Jul 12 20:40:02 UTC 2009


Thomas Breuel <tmbdev at gmail.com> writes:

> I'm getting a significant number of patches (diffs, but could be
> bundles as well) through the web (issue tracker) and E-mail.  Right
> now, I save them, then figure out which directory they go with, and
> then invoke patch manually.
>
> How are other people handling this? Is there a nice UI for dealing
> with this?

I use Gnus for Emacs as my email client. It lets me pipe the contents of
a mail directly to a command. So I press '|' and then 'up-arrow' until I
get to the right command in the history. The commands look like

  hg -R ~/src/mercurial-crew import -

and will directly install the patch as a new changeset.

Unfortunately, I don't think very many email clients supports something
like this...

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20090712/8795d987/attachment-0001.asc>


More information about the Mercurial mailing list