[PATCH 2 of 2] qseries: add --edit option for editing .hg/patches/series

Martin Geisler mg at aragost.com
Thu Apr 29 02:12:39 CDT 2010

Mads Kiilerich <mads at kiilerich.com> writes:

> # HG changeset patch
> # User Mads Kiilerich <mads at kiilerich.com>
> # Date 1272496832 -7200
> # Node ID 7d1aa76c8dc7e36e94c66c8fcf14b1a3f0ed0b91
> # Parent  b2096a6e1d57b1c1161da46a7f9f072c33dc4add
> qseries: add --edit option for editing .hg/patches/series
> Users should never touch any files in .hg - with .hg/patches/series
> being an exception for some common operations - such as reordering
> patches.
> This introduces an option to edit the series, and we can thus again
> tell the users that they should never touch any files in .hg.

I sort of like what you're doing here -- it is a bit strange to tell
people to edit files in .hg. I this case I think we can do better than
just launching the editor, though: we should verify the file after save.

Martin Geisler

aragost Trifork
Professional Mercurial support

More information about the Mercurial-devel mailing list