[PATCH 2 of 2] histedit: mark temporary commits as obsolete when allowed to
raf at durin42.com
Mon Jul 20 11:05:44 CDT 2015
> On Jul 17, 2015, at 7:50 PM, Pierre-Yves David <pierre-yves.david at ens-lyon.org> wrote:
> On 07/17/2015 08:35 PM, Matt Mackall wrote:
>> On Thu, 2015-07-16 at 11:41 -0700, Laurent Charignon wrote:
>>> # HG changeset patch
>>> # User Laurent Charignon <lcharignon at fb.com>
>>> # Date 1437070335 25200
>>> # Thu Jul 16 11:12:15 2015 -0700
>>> # Node ID 5abd5484d70ce0164b606803f181240a498c8bb4
>>> # Parent 58cb628ade7b1b89f9b91aded2aa0aff0ec49ed6
>>> histedit: mark temporary commits as obsolete when allowed to
>> Looks good, queued for default.
> Not super fan of this. Temporary commit have just been created so the strip is not expected to be very slow. And temporary commit are mostly related to internal histedit state so keeping them around have dubious value.
I agree in a perfect world we could discard the temporary commits. It might still be too slow on complex repositories (mozilla-central), so someone should do some benchmarking.
(This brings me back to an old idea I had about overlay repositories that would let you do complex operations on an overlay of a repo, then pull only some of the work into the real repo and discard the rest when done.)
> Pierre-Yves David
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the Mercurial-devel