No Browse View for CVS Repository, only Showing Revisions
Added by E W almost 16 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 16 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"}
[4;36;1mSQL (11.7ms)[0m [0;1mSELECT max(`settings`.updated_on) AS max_updated_on FROM `settings` [0m
[4;35;1mUser Load (15.5ms)[0m [0mSELECT * FROM `users` WHERE (`users`.`id` = 1) AND (users.status = 1) [0m
[4;36;1mProject Load (0.8ms)[0m [0;1mSELECT * FROM `projects` WHERE (`projects`.`identifier` = 'test') LIMIT 1[0m
[4;35;1mRepository Load (0.9ms)[0m [0mSELECT * FROM `repositories` WHERE (`repositories`.project_id = 1) LIMIT 1[0m
[4;36;1mEnabledModule Load (0.5ms)[0m [0;1mSELECT * FROM `enabled_modules` WHERE (`enabled_modules`.project_id = 1) [0m
[4;35;1mSetting Load (0.6ms)[0m [0mSELECT * FROM `settings` WHERE (`settings`.`name` = 'autofetch_changesets') LIMIT 1[0m
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
[4;36;1mChangeset Load (0.8ms)[0m [0;1mSELECT * FROM `changesets` WHERE (`changesets`.repository_id = 5) ORDER BY committed_on DESC, changesets.committed_on DESC, changesets.id DESC LIMIT 10[0m
Rendering template within layouts/base
Rendering repositories/show
[4;35;1mChangeset Columns (1.2ms)[0m [0mSHOW FIELDS FROM `changesets`[0m
[4;36;1mUserPreference Load (0.5ms)[0m [0;1mSELECT * FROM `user_preferences` WHERE (`user_preferences`.user_id = 1) LIMIT 1[0m
[4;35;1mUserPreference Columns (0.9ms)[0m [0mSHOW FIELDS FROM `user_preferences`[0m
[4;36;1mSetting Load (0.7ms)[0m [0;1mSELECT * FROM `settings` WHERE (`settings`.`name` = 'time_format') LIMIT 1[0m
[4;35;1mSetting Load (2.6ms)[0m [0mSELECT * FROM `settings` WHERE (`settings`.`name` = 'date_format') LIMIT 1[0m
Rendered repositories/_revisions (11.8ms)
[4;36;1mToken Load (0.9ms)[0m [0;1mSELECT * FROM `tokens` WHERE (`tokens`.user_id = 1 AND (action='feeds')) LIMIT 1[0m
[4;35;1mToken Columns (1.0ms)[0m [0mSHOW FIELDS FROM `tokens`[0m
[4;36;1mProject Load (0.7ms)[0m [0;1mSELECT `projects`.* FROM `projects` INNER JOIN members ON projects.id = members.project_id WHERE ((`members`.user_id = 1) AND ((projects.status=1))) [0m
[4;35;1mSQL (0.4ms)[0m [0mSELECT count() AS count_all FROM `versions` WHERE (`versions`.project_id = 1) [0m
[4;36;1mWiki Load (0.4ms)[0m [0;1mSELECT * FROM `wikis` WHERE (`wikis`.project_id = 1) LIMIT 1[0m
[4;35;1mSQL (7.6ms)[0m [0mSELECT count() AS count_all FROM `boards` WHERE (`boards`.project_id = 1) [0m
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 16 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