[issue571] ask for which chunks to commit

Neal Becker ndbecker2 at gmail.com
Tue May 29 12:09:27 UTC 2007


Antoine Beaupré wrote:

> 
> 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!
> 
Yes, I like this darcs feature also.




More information about the Mercurial-devel mailing list