Moving record into core

Steve Borho steve at borho.org
Fri Apr 16 08:17:43 CDT 2010


On Fri, Apr 16, 2010 at 3:47 AM, Sune Foldager <cryo at cyanite.org> wrote:
> On 15-04-2010 15:25, Bill Barry wrote:
>>
>> +1
>>
>> Please have some method that can take in a patch or changeset or
>> something similar and outputs 2 of them (one for use, one for non-use)
>> as well so that there is a way to programmatically call the
>> functionality. THg and other guis could override this method and provide
>> interfaces for it.
>
> Sounds like a good idea. TortoiseHg already has hunk-wise commit,
> implemented separately.

Our implementation was initially borrowed from record.py.  I'll have
to give a +1 to the idea of implementing in-memory patching before
moving this to core.  The backup, revert, patch, commit, recover loop
is ugly, problematic on Windows, and confuses most editors.

--
Steve Borho


More information about the Mercurial-devel mailing list