Hello Daniel, you are absolutely right, I was doing some tests with the revision numbers and forgot to check if the path existed on that version. :facepalm: Thank you very much for checking this for me, it is working as intended. Sorry for using your time.
Best regards Laurens On Tue, Apr 18, 2023 at 2:25 PM Daniel Sahlberg <daniel.l.sahlb...@gmail.com> wrote: > Den tis 18 apr. 2023 kl 18:44 skrev Laurens Rodriguez <laur...@bamtang.com > >: > >> Hello, >> I'm trying to get the history of a subpath from a repository with: >> /usr/bin/svnlook history -r 1000 -l 5 /path/to/my/repo /trunk >> I'm sure the path /trunk exists, but it is failing with: >> >> REVISION PATH >> -------- ---- >> svnlook: E160013: File not found: revision 1090, path '/trunk' >> >> If I try with: >> /usr/bin/svnlook history -r 1000 -l 5 /path/to/my/repo / >> or omitting the path completely: >> /usr/bin/svnlook history -r 1000 -l 5 /path/to/my/repo >> >> it works as expected: >> REVISION PATH >> -------- ---- >> 1090 / >> 1089 / >> 1088 / >> 1087 / >> 1086 / >> > > Are you sure /trunk actually existed in revision 1000? I've made a quick > test, /trunk was added in revison 15 in my test repo. This is what I get: > > [[[ > daniel@srv:~$ svnlook history -r 14 -l 5 /data/svn/test/ /trunk > REVISION PATH > -------- ---- > svnlook: E160013: File not found: revision 14, path '/trunk' > daniel@srv:~$ svnlook history -r 15 -l 5 /data/svn/test/ /trunk > REVISION PATH > -------- ---- > 15 /trunk > ]]] > > My version is: >> >> svnlook, version 1.9.7 (r1800392) >> compiled May 21 2022, 07:24:25 on x86_64-pc-linux-gnu >> > > Please note that Subversion 1.9 is out of support since a few years. I > don't think it matters in this case since I can reproduce the issue even > with the latest version. But there may be bugs or even security issues that > won't be fixed in 1.9. > > Kind regards, > Daniel Sahlberg > >