view mercurial/__init__.py @ 25279:708b19c18adf stable

mergecopies: avoid slowdown from linkrev adjustment (issue4680) checkcopies was using fctx.rev() which it was expecting would be equivalent to linkrev() but was triggering the new _adjustlinkrev path. This was making grafts and merges with large sets of potential copies very expensive.
author Matt Mackall <mpm@selenic.com>
date Tue, 26 May 2015 06:45:18 -0500
parents 9117c6561b0b
children 4374d819ccd5
line wrap: on
line source