You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Björn Blissing <bj...@vti.se> on 2010/03/29 17:56:52 UTC

Can checkout and commit but NOT diff or display logs for files or dirs

Hi,

I set up a repo on my computer. I run the daemon with the following options:

>svnserve.exe -d -r d:\svndata

I can then check out and commit to the repo using "svn co svn://localhost/project/trunk project" , BUT I can not do any diff or show logs.
But if I instead checkout the repo using "svn co file:///d:/svndata/project/trunk project" everything works perfectly.

I have tried to run in listen-once mode with logging to a log file. And I get this line when trying to diff the file readme.txt from the current revision(10) to revision 8.

1736 2010-03-29T17:41:31.690740Z 127.0.0.1 - svndata open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) /project/trunk/readme.txt SVN/1.6.6%20(r40053) -
1736 2010-03-29T17:41:31.690740Z 127.0.0.1 - svndata get-locations /project/trunk/readme.txt@10 (8)

I am running Windows Vista 64 bit and Subversion 1.6.6. The svnserve.exe is added to the firewall exceptions list.

Anyone got any ideas of what is going wrong here? I have ran out of fresh ideas...

Best regards,

Björn

Re: Can checkout and commit but NOT diff or display logs for files or dirs

Posted by Johan Corveleyn <jc...@gmail.com>.
2010/3/30 Björn Blissing <bj...@vti.se>:
>
> ________________________________________
> Från: Johan Corveleyn [jcorvel@gmail.com]
> Skickat: den 30 mars 2010 00:14
> Till: Björn Blissing
> Kopia: users@subversion.apache.org
> Ämne: Re: Can checkout and commit but NOT diff or display logs for files or     dirs
>
> 2010/3/29 Björn Blissing <bj...@vti.se>:
>> Hi,
>>
>> I set up a repo on my computer. I run the daemon with the following options:
>>
>>>svnserve.exe -d -r d:\svndata
>>
>> I can then check out and commit to the repo using "svn co svn://localhost/project/trunk project" , BUT I can not do any diff or show logs.
>> But if I instead checkout the repo using "svn co file:///d:/svndata/project/trunk project" everything works perfectly.
>>
>> I have tried to run in listen-once mode with logging to a log file. And I get this line when trying to diff the file readme.txt from the current revision(10) to revision 8.
>>
>> 1736 2010-03-29T17:41:31.690740Z 127.0.0.1 - svndata open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) /project/trunk/readme.txt SVN/1.6.6%20(r40053) -
>> 1736 2010-03-29T17:41:31.690740Z 127.0.0.1 - svndata get-locations /project/trunk/readme.txt@10 (8)
>>
>> I am running Windows Vista 64 bit and Subversion 1.6.6. The svnserve.exe is added to the firewall exceptions list.
>>
>> Anyone got any ideas of what is going wrong here? I have ran out of fresh ideas...
>
> What's the exact command that you're running for diff or log? And
> what's the error message (if any) that you get from your svn client?
>
> --
> Johan
>
> I run diff from the command prompt with:
> d:\project> svn diff readme.txt -r 8
>
> The error messages I get when trying to diff is:
> svn: Unreadable path encountered; access denied
>
> For log I run:
> d:\project> svn log readme.txt
>
> And then I get the following error message:
> svn: Item is not readable

Hm, that sounds like an authorization problem (access denied, ...).
Are you using path-based authorization (an authz file referenced by
your svnserve.conf)?

I'm not sure (not much experience with path-based authz), but maybe
you're being hit by issue #3242:
http://subversion.tigris.org/issues/show_bug.cgi?id=3242

If I understand correctly from that issue, checkouts work, but some
operations (notably copying) fail, if you don't have read access to
the root of the repository. It doesn't talk about diff and log though
...

-- 
Johan

Re: Can checkout and commit but NOT diff or display logs for files or dirs

Posted by Björn Blissing <bj...@vti.se>.
________________________________________
Från: Johan Corveleyn [jcorvel@gmail.com]
Skickat: den 30 mars 2010 00:14
Till: Björn Blissing
Kopia: users@subversion.apache.org
Ämne: Re: Can checkout and commit but NOT diff or display logs for files or     dirs

2010/3/29 Björn Blissing <bj...@vti.se>:
> Hi,
>
> I set up a repo on my computer. I run the daemon with the following options:
>
>>svnserve.exe -d -r d:\svndata
>
> I can then check out and commit to the repo using "svn co svn://localhost/project/trunk project" , BUT I can not do any diff or show logs.
> But if I instead checkout the repo using "svn co file:///d:/svndata/project/trunk project" everything works perfectly.
>
> I have tried to run in listen-once mode with logging to a log file. And I get this line when trying to diff the file readme.txt from the current revision(10) to revision 8.
>
> 1736 2010-03-29T17:41:31.690740Z 127.0.0.1 - svndata open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) /project/trunk/readme.txt SVN/1.6.6%20(r40053) -
> 1736 2010-03-29T17:41:31.690740Z 127.0.0.1 - svndata get-locations /project/trunk/readme.txt@10 (8)
>
> I am running Windows Vista 64 bit and Subversion 1.6.6. The svnserve.exe is added to the firewall exceptions list.
>
> Anyone got any ideas of what is going wrong here? I have ran out of fresh ideas...

What's the exact command that you're running for diff or log? And
what's the error message (if any) that you get from your svn client?

--
Johan

I run diff from the command prompt with:
d:\project> svn diff readme.txt -r 8

The error messages I get when trying to diff is:
svn: Unreadable path encountered; access denied

For log I run:
d:\project> svn log readme.txt

And then I get the following error message:
svn: Item is not readable



/Bjorn

Re: Can checkout and commit but NOT diff or display logs for files or dirs

Posted by Björn Blissing <bj...@vti.se>.
________________________________________
Från: Johan Corveleyn [jcorvel@gmail.com]
Skickat: den 30 mars 2010 00:14
Till: Björn Blissing
Kopia: users@subversion.apache.org
Ämne: Re: Can checkout and commit but NOT diff or display logs for files or     dirs

2010/3/29 Björn Blissing <bj...@vti.se>:
> Hi,
>
> I set up a repo on my computer. I run the daemon with the following options:
>
>>svnserve.exe -d -r d:\svndata
>
> I can then check out and commit to the repo using "svn co svn://localhost/project/trunk project" , BUT I can not do any diff or show logs.
> But if I instead checkout the repo using "svn co file:///d:/svndata/project/trunk project" everything works perfectly.
>
> I have tried to run in listen-once mode with logging to a log file. And I get this line when trying to diff the file readme.txt from the current revision(10) to revision 8.
>
> 1736 2010-03-29T17:41:31.690740Z 127.0.0.1 - svndata open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) /project/trunk/readme.txt SVN/1.6.6%20(r40053) -
> 1736 2010-03-29T17:41:31.690740Z 127.0.0.1 - svndata get-locations /project/trunk/readme.txt@10 (8)
>
> I am running Windows Vista 64 bit and Subversion 1.6.6. The svnserve.exe is added to the firewall exceptions list.
>
> Anyone got any ideas of what is going wrong here? I have ran out of fresh ideas...

What's the exact command that you're running for diff or log? And
what's the error message (if any) that you get from your svn client?

--
Johan

The error messages I get when trying to diff is:
svn: Unreadable path encountered; access denied

And when I try to show log is:
svn: Item is not readable

/Bjorn

Re: Can checkout and commit but NOT diff or display logs for files or dirs

Posted by Johan Corveleyn <jc...@gmail.com>.
2010/3/29 Björn Blissing <bj...@vti.se>:
> Hi,
>
> I set up a repo on my computer. I run the daemon with the following options:
>
>>svnserve.exe -d -r d:\svndata
>
> I can then check out and commit to the repo using "svn co svn://localhost/project/trunk project" , BUT I can not do any diff or show logs.
> But if I instead checkout the repo using "svn co file:///d:/svndata/project/trunk project" everything works perfectly.
>
> I have tried to run in listen-once mode with logging to a log file. And I get this line when trying to diff the file readme.txt from the current revision(10) to revision 8.
>
> 1736 2010-03-29T17:41:31.690740Z 127.0.0.1 - svndata open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) /project/trunk/readme.txt SVN/1.6.6%20(r40053) -
> 1736 2010-03-29T17:41:31.690740Z 127.0.0.1 - svndata get-locations /project/trunk/readme.txt@10 (8)
>
> I am running Windows Vista 64 bit and Subversion 1.6.6. The svnserve.exe is added to the firewall exceptions list.
>
> Anyone got any ideas of what is going wrong here? I have ran out of fresh ideas...

What's the exact command that you're running for diff or log? And
what's the error message (if any) that you get from your svn client?

-- 
Johan