[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HG extension "record" for partial commits
From: |
Mike Miller |
Subject: |
Re: HG extension "record" for partial commits |
Date: |
Thu, 22 Mar 2018 11:58:10 -0700 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
On Thu, Mar 22, 2018 at 09:04:50 -0700, Rik wrote:
> If the changes reside in different *files* then you can do 'hg ci
> LIST_OF_BUG1_FILES' to check in the changes associated only with BUG1.
> However, if there are simultaneous changes in a single file then try 'hg
> record'. This will allow you to interactively choose, for each diff hunk,
> which is recorded and which is not.
I use the hg commit --interactive feature, available in Mercurial 3.8
and newer.
I *think* the "crecord" extension adds this feature to older versions of
Mercurial.
When I am working on multiple changes at once, hg commit -i gives a nice
curses tool for selecting and unselecting parts of diffs and committing
the result.
--
mike
signature.asc
Description: PGP signature