https://github.com/SoftwareHeritage/swh-storage
Revision 6510b5ec4d835409c2045c95dd6d8ed8c5102ffd authored by Antoine Lambert on 18 April 2019, 14:17:16 UTC, committed by Antoine Lambert on 18 April 2019, 15:30:17 UTC
It might exist cases where a revision's parent is referenced but doesn't exist
in the archive resulting in a truncated/shallow history when walking on the
revisions graph.

That commit ensures the revision walkers will not end up in errors when
encountering such cases.

Closes T1675
1 parent 685b601
History
Tip revision: 6510b5ec4d835409c2045c95dd6d8ed8c5102ffd authored by Antoine Lambert on 18 April 2019, 14:17:16 UTC
algos.revisions_walker: Handle truncated/shallow histories
Tip revision: 6510b5e
File Mode Size
bin
docs
sql
swh
utils
.gitignore -rw-r--r-- 123 bytes
AUTHORS -rw-r--r-- 112 bytes
LICENSE -rw-r--r-- 34.3 KB
MANIFEST.in -rw-r--r-- 192 bytes
Makefile -rw-r--r-- 163 bytes
Makefile.local -rw-r--r-- 36 bytes
README.md -rw-r--r-- 3.3 KB
conftest.py -rw-r--r-- 292 bytes
pytest.ini -rw-r--r-- 30 bytes
requirements-swh.txt -rw-r--r-- 88 bytes
requirements-test.txt -rw-r--r-- 28 bytes
requirements.txt -rw-r--r-- 57 bytes
setup.py -rwxr-xr-x 2.2 KB
tox.ini -rw-r--r-- 469 bytes

README.md

back to top