Mercurial > hg
comparison hgwebdir.cgi @ 10262:eb243551cbd8 stable
copies: speed up copy detection
On some large repos, copy detection could spend > 10min using
fctx.ancestor() to determine if file revisions were actually related.
Because ancestor must traverse history to the root to determine the
GCA, it was doing a lot more work than necessary. With this
replacement, same status -r a:b takes ~3 seconds.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 19 Jan 2010 22:20:05 -0600 |
parents | b7d4db95e95a |
children | 08a0f04b56bd |
comparison
equal
deleted
inserted
replaced
10261:5eae671c0b57 | 10262:eb243551cbd8 |
---|