[issue571] ask for which chunks to commit

Antoine Beaupré mercurial-bugs at selenic.com
Thu May 24 21:43:30 CDT 2007


New submission from Antoine Beaupré <anarcat at anarcat.ath.cx>:

Darcs has a very cool feature of asking you which chunks you want to include in
the changeset when doing a commit. It's very handy when, for example, you did
whitespace-only changes alongside with a good bugfix and don't want to revert
the whole file but just a part of it.

I would sure use it a lot... Here is a sample darcs session:

lethe% darcs init
lethe% touch f
lethe% darcs add f
lethe% darcs record
addfile ./f
Shall I record this change? (1/?)  [ynWsfqadjkc], or ? for help: y
What is the patch name? test
Do you want to add a long comment? [yn]n
Finished recording patch 'test'

Thanks!

----------
messages: 3125
nosy: anarcat
priority: feature
status: unread
title: ask for which chunks to commit

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue571>
____________________________________________________



More information about the Mercurial-devel mailing list