question from current darcs user
Benoit Boissinot
bboissin at gmail.com
Sat Sep 1 11:02:34 CDT 2007
On 9/1/07, Raphael Bauduin <rblists at gmail.com> wrote:
> Hi,
>
> I'm currently using Darcs, but am looking at Mercurial as I've had
> some problems with big commits with Darcs.
>
> One feature I really like in darcs is that when I record a patch
> (equivalent to hg commit), it shows me every change that took place
> and asks me if I want to record it.
> So, for each change reported by hg diff, I get a question and I can
> decide to not record some changes.
>
> A very practical example is if you're debugging code, and add some
> line of code specific to the debugging process. When you're done, you
> "darcs record", but you just don't record the debugging code. After
> that, a simple darcs revert removes all debugging lines you put in
> there. There's no risk to forget one, and it's also very fast compare
> to gor through the code and look for the remaining debugging code.
>
> So, is this possible with Mercurial. If not, is there a possibility
> that this gets implemented in the future?
>
See the record extension:
http://www.selenic.com/mercurial/wiki/index.cgi/RecordExtension
regards,
Benoit
More information about the Mercurial
mailing list