mercurial/pure/__init__.py
author Durham Goode <durham@fb.com>
Wed, 01 May 2013 10:44:21 -0700
changeset 19178 4327687ca757
parent 16438 28a90cdf0ca0
permissions -rw-r--r--
copies: refactor checkcopies() into a top level method This moves checkcopies() out of mergecopies() and makes it a top level function in the copies module. This allows extensions to override it. For example, I'm developing a filelog replacement that doesn't have rev numbers so all the rev number dependent implementation here needs to be replaced by the extension. No logic is changed in this commit.