Mercurial > public > mercurial-scm > hg
comparison mercurial/copies.py @ 30045:12cac1e4d6d9
copies: limit is an optimization, and doesn't provide guarantees
author | G?bor Stefanik <gabor.stefanik@nng.com> |
---|---|
date | Mon, 03 Oct 2016 16:19:55 +0200 |
parents | ead25aa27a43 |
children | cfdbada917cd |
comparison
equal
deleted
inserted
replaced
30044:69b61d0bb008 | 30045:12cac1e4d6d9 |
---|---|
463 ca = the changectx of the common ancestor | 463 ca = the changectx of the common ancestor |
464 limit = the rev number to not search beyond | 464 limit = the rev number to not search beyond |
465 diverge = record all diverges in this dict | 465 diverge = record all diverges in this dict |
466 copy = record all non-divergent copies in this dict | 466 copy = record all non-divergent copies in this dict |
467 fullcopy = record all copies in this dict | 467 fullcopy = record all copies in this dict |
468 | |
469 note: limit is only an optimization, and there is no guarantee that | |
470 irrelevant revisions will not be limited | |
471 there is no easy way to make this algorithm stop in a guaranteed way | |
472 once it "goes behind a certain revision". | |
468 """ | 473 """ |
469 | 474 |
470 ma = ca.manifest() | 475 ma = ca.manifest() |
471 getfctx = _makegetfctx(ctx) | 476 getfctx = _makegetfctx(ctx) |
472 | 477 |