Project

General

Profile

Subversion Integration

Added by Chandan K over 14 years ago

Have RC 1.0.0 installed and working like a charm.
Trying to set up the repository

After I add in the settings, and visit the Repository tab, I get "The entry or revision was not found in the repository."

Looking at log/production.log, I see:

Processing RepositoriesController#show (for xx.xx.xx.xx at 2010-08-13 22:25:38) [GET]
Parameters: {"action"=>"show", "id"=>"projiden", "controller"=>"repositories"}
Error parsing svn output: undefined method `name' for nil:NilClass
Output was:
Rendering template within layouts/base
Completed in 269ms (View: 25, DB: 4) | 500 Internal Server Error [http://redmine-url/projects/projiden/repository]

I also searched and found this: http://www.redmine.org/boards/2/topics/723#message-727, and tried that too, but got the same result.

Should I be doing something different? Anything else I can try?

Thanks!


Replies (3)

RE: Subversion Integration - Added by Alexander Sapozhnikov about 14 years ago

I found same problem but I solve it.

I change SVN_BIN: instead “svn” I wrote full path:

27c27
<         SVN_BIN = "svn" 
---
>         SVN_BIN = "/usr/local/bin/svn"
This works under FreeBSD. Under other systems path will be another. You can execute which svn to get path.

Root of this problem is different environments for different users: I have variable PATH, but special user www hasn't.

RE: Subversion Integration - Added by ime prezime about 14 years ago

thank you very much :D
you solved my problem :)

I have edited subversion_adapter.rb, changed line 27 as you described and it works :D

RE: Subversion Integration - Added by Ivan Cenov about 14 years ago

Alexander Sapozhnikov wrote:

I found same problem but I solve it.

I change SVN_BIN: instead “svn” I wrote full path: [...]This works under FreeBSD. Under other systems path will be another. You can execute which svn to get path.

Root of this problem is different environments for different users: I have variable PATH, but special user www hasn't.

Hi,

Is it not possible to set PATH environment for www special user?

Ivan

    (1-3/3)