blob command invalidates legacy ID lookup
(reposurgeon 3.26, CentOS 7, Python 2.7)
This may be the same underlying issue as #5 (closed), but it manifests slightly differently.
If you use the blob
command, subsequent selection sets using legacy IDs may fail, or may reference the wrong commit.
Execute this script:
(It uses blob
twice so that the referenced item falls on a valid commit event)
The resulting .fi
includes:
commit refs/heads/master
#legacy-id 1
mark :4
committer iay <iay> 1435080229 +0000
data 51
Project structure
appended to legacy rev 2 comment
M 100644 :3 .gitignore
The reference to <2>
has referenced the commit with legacy id <1>
instead.