mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
18869274ee
cvsps computes the parent revisions of log entries by walking the cvs log sorted by (rcs, revision) and by iteratively maintaining a 'versions' dictionary which maps a (rcs, branch) pair onto the last revision seen for that pair. When log caching is on and a log cache exists, cvsps fails to set the parent revisions of new log entries because it does not iterate over the log cache in the parents computation. A complication is that a file rcs can change (move to/from the attic), with respect to its value in the log cache, if the file is removed/added back. This patch adds an iteration over the log cache to update the rcs of cached log entries, if changed, and to properly populate the 'versions' dictionary. |
||
---|---|---|
.. | ||
__init__.py | ||
bzr.py | ||
common.py | ||
convcmd.py | ||
cvs.py | ||
cvsps.py | ||
darcs.py | ||
filemap.py | ||
git.py | ||
gnuarch.py | ||
hg.py | ||
monotone.py | ||
p4.py | ||
subversion.py | ||
transport.py |