[PATCH 1 of 1] record: allow splitting of hunks by manually editing patches

A. S. Budden abudden at gmail.com
Sat Feb 18 03:13:46 CST 2012


On 17 February 2012 21:56, Matt Mackall <mpm at selenic.com> wrote:
> On Wed, 2012-02-08 at 08:13 +0000, A. S. Budden wrote:
>> # HG changeset patch
>> # User A. S. Budden <abudden at gmail.com>
>> # Date 1328644441 0
>> # Node ID f63457e6722ba6e2a481ff963d57b98a63d68efc
>> # Parent  878bc4a62a735a1624e9b69c672d5fb5074d4855
>> record: allow splitting of hunks by manually editing patches
>
> First thing I ran into when trying to use this:
>
> diff --git a/README b/README
> 1 hunks, 3 lines changed
> examine changes to 'README'? [Ynesfdaq?] e
>
> cannot edit patch for whole file
>
> Seems we shouldn't offer the option if it'll never work?

I agree. There's a second patch that sorts this out, but it was quite
a big (and non-essential) change, so I didn't want to include it in my
first submission. It's on the bitbucket link on the first email, but I
can email it to the list if you prefer.

Al

(P.S. Sorry for the echo: was sending from my phone and clearly failed
to CC the list).


More information about the Mercurial-devel mailing list