You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Laurens Rodriguez <la...@bamtang.com> on 2023/04/18 16:42:58 UTC
svnlook history is not working with a subpath?
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 /
I need this info to show the changes from a particular path, not the root
path. I have tried different paths and combinations but I can not figure
how to get this to work. Any help?
My version is:
svnlook, version 1.9.7 (r1800392)
compiled May 21 2022, 07:24:25 on x86_64-pc-linux-gnu
Thanks!
Laurens
Re: svnlook history is not working with a subpath?
Posted by Laurens Rodriguez <la...@bamtang.com>.
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 <da...@gmail.com>
wrote:
> Den tis 18 apr. 2023 kl 18:44 skrev Laurens Rodriguez <laurens@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
>
>
Re: svnlook history is not working with a subpath?
Posted by Daniel Sahlberg <da...@gmail.com>.
Den tis 18 apr. 2023 kl 18:44 skrev Laurens Rodriguez <la...@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