No Browse View for CVS Repository, only Showing Revisions

Added by E W almost 14 years ago

Hi,
I've got Redmine installed on Windows XP, and am using cygwin cvs. I created a repository in a project, using CVSROOT of c:\cygwin\home\Ethan\cvsroot and repository DeployServer. When I go to the repository view page, it only shows a list of revisions, rather than a browse view of the repository followed by the list of revisions, which I see at http://www.redmine.org/repositories/show/redmine, for example. (which I see is using SVN) Is there supposed to be a browse view of the repository files when using CVS rather than SVN?

Thank you,
Ethan


Some info:

About your application's environment
Ruby version 1.8.6 (i386-mswin32)
RubyGems version 1.3.1
Rails version 2.1.2
Active Record version 2.1.2
Action Pack version 2.1.2
Active Resource version 2.1.2
Action Mailer version 2.1.2
Active Support version 2.1.2
Application root C:/redmine
Environment development
Database adapter mysql

Text from production.log:

Processing RepositoriesController#edit (for 127.0.0.1 at 2009-03-04 00:33:24) [POST]
Session ID: 56a11e51c77dff252e449f3d5de4dc01
Parameters: {"commit"=>"Create", "repository"=>{"url"=>"DeployServer", "root_url"=>"c:\\cygwin\\home\\Ethan\\cvsroot"}, "action"=>"edit", "id"=>"tester", "controller"=>"repositories", "repository_scm"=>"Cvs"}
Completed in 0.07800 (12 reqs/sec) | Rendering: 0.01500 (19%) | DB: 0.04700 (60%) | 200 OK [http://localhost/repositories/edit/tester]

Processing DocumentsController#index (for 127.0.0.1 at 2009-03-04 00:33:27) [GET]
Session ID: 56a11e51c77dff252e449f3d5de4dc01
Parameters: {"project_id"=>"tester", "action"=>"index", "controller"=>"documents"}
Rendering template within layouts/base
Rendering documents/index
Completed in 0.53100 (1 reqs/sec) | Rendering: 0.18700 (35%) | DB: 0.03100 (5%) | 200 OK [http://localhost/projects/tester/documents]

Processing RepositoriesController#show (for 127.0.0.1 at 2009-03-04 00:33:28) [GET]
Session ID: 56a11e51c77dff252e449f3d5de4dc01
Parameters: {"action"=>"show", "id"=>"tester", "controller"=>"repositories"}
Rendering template within layouts/base
Rendering repositories/show
Completed in 7.00000 (0 reqs/sec) | Rendering: 0.07800 (1%) | DB: 1.48800 (21%) | 200 OK [http://localhost/repositories/show/tester]

Replies (2)

RE: No Browse View for CVS Repository, only Showing Revisions - Added by Sonar Nautilus almost 14 years ago

I have same problem on the svn repository

[[Processing RepositoriesController#show (for 82.195.23.229 at 2009-03-08 20:49:31) [GET]
Parameters: {"action"=>"show", "id"=>"test", "controller"=>"repositories"}
SQL (11.7ms) SELECT max(`settings`.updated_on) AS max_updated_on FROM `settings` 
User Load (15.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) AND (users.status = 1) 
Project Load (0.8ms) SELECT * FROM `projects` WHERE (`projects`.`identifier` = 'test') LIMIT 1
Repository Load (0.9ms) SELECT * FROM `repositories` WHERE (`repositories`.project_id = 1) LIMIT 1
EnabledModule Load (0.5ms) SELECT * FROM `enabled_modules` WHERE (`enabled_modules`.project_id = 1) 
Setting Load (0.6ms) SELECT * FROM `settings` WHERE (`settings`.`name` = 'autofetch_changesets') LIMIT 1
Shelling out: svn --config-dir /home/www/snvconfig info --xml 'file:///home/svn/test/'
Shelling out: svn --config-dir /home/www/snvconfig list --xml 'file:///home/svn/test/'@HEAD
Changeset Load (0.8ms) SELECT * FROM `changesets` WHERE (`changesets`.repository_id = 5) ORDER BY committed_on DESC, changesets.committed_on DESC, changesets.id DESC LIMIT 10
Rendering template within layouts/base
Rendering repositories/show
Changeset Columns (1.2ms) SHOW FIELDS FROM `changesets`
UserPreference Load (0.5ms) SELECT * FROM `user_preferences` WHERE (`user_preferences`.user_id = 1) LIMIT 1
UserPreference Columns (0.9ms) SHOW FIELDS FROM `user_preferences`
Setting Load (0.7ms) SELECT * FROM `settings` WHERE (`settings`.`name` = 'time_format') LIMIT 1
Setting Load (2.6ms) SELECT * FROM `settings` WHERE (`settings`.`name` = 'date_format') LIMIT 1
Rendered repositories/_revisions (11.8ms)
Token Load (0.9ms) SELECT * FROM `tokens` WHERE (`tokens`.user_id = 1 AND (action='feeds')) LIMIT 1
Token Columns (1.0ms) SHOW FIELDS FROM `tokens`
Project Load (0.7ms) SELECT `projects`.* FROM `projects` INNER JOIN members ON projects.id = members.project_id WHERE ((`members`.user_id = 1) AND ((projects.status=1))) 
SQL (0.4ms) SELECT count() AS count_all FROM `versions` WHERE (`versions`.project_id = 1) 
Wiki Load (0.4ms) SELECT * FROM `wikis` WHERE (`wikis`.project_id = 1) LIMIT 1
SQL (7.6ms) SELECT count(
) AS count_all FROM `boards` WHERE (`boards`.project_id = 1) 
Completed in 101ms (View: 33, DB: 31) | 200 OK [http://projects.dobrih.net/projects/test/repository]]]

RE: No Browse View for CVS Repository, only Showing Revisions - Added by Sonar Nautilus almost 14 years ago

Check in the Apache error_log. I had the error "sh: svn: command not found".
You might like this. The file /lib/redmine/scm/adapters/cvs_adapter.rb correct line CVS_BIN specifying the full path to the file

(1-2/2)