Mercurial > hg
view mercurial/cext/revlog.h @ 42223:d69bc8ffbe6f
copies: inline _computenonoverlap() in mergecopies()
We now call pathcopies() from the base to each of the commits, and
that calls _computeforwardmissing(), which does file prefetching (in
the remotefilelog override). So the call to _computenonoverlap() is
now pointless (the sets of files from _computenonoverlap() are subsets
of the sets of files from _computeforwardmissing()).
This somehow also fixes a broken remotefilelog test.
Differential Revision: https://phab.mercurial-scm.org/D6256
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 12 Apr 2019 10:44:37 -0700 |
parents | b12700dd261f |
children | 9db11679f8ac |
line wrap: on
line source
/* revlog.h - efficient revlog parsing This software may be used and distributed according to the terms of the GNU General Public License, incorporated herein by reference. */ #ifndef _HG_REVLOG_H_ #define _HG_REVLOG_H_ #include <Python.h> extern PyTypeObject HgRevlogIndex_Type; #define HgRevlogIndex_Check(op) PyObject_TypeCheck(op, &HgRevlogIndex_Type) int HgRevlogIndex_GetParents(PyObject *op, int rev, int *ps); #endif /* _HG_REVLOG_H_ */