Skip to content

Commit 0910b2b

Browse files
committed
Drop Darcs support (#26391).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16886 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent 33d9544 commit 0910b2b

File tree

13 files changed

+4
-765
lines changed

13 files changed

+4
-765
lines changed

app/helpers/repositories_helper.rb

+1-10
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,6 @@ def subversion_field_tags(form, repository)
157157
:onchange => "this.name='repository[password]';"))
158158
end
159159

160-
def darcs_field_tags(form, repository)
161-
content_tag('p', form.text_field(
162-
:url, :label => l(:field_path_to_repository),
163-
:size => 60, :required => true,
164-
:disabled => !repository.safe_attribute?('url')) +
165-
scm_path_info_tag(repository)) +
166-
scm_log_encoding_tag(form, repository)
167-
end
168-
169160
def mercurial_field_tags(form, repository)
170161
content_tag('p', form.text_field(
171162
:url, :label => l(:field_path_to_repository),
@@ -279,7 +270,7 @@ def index_commits(commits, heads)
279270
}
280271
end
281272
heads.sort! { |head1, head2| head1.to_s <=> head2.to_s }
282-
space = nil
273+
space = nil
283274
heads.each do |head|
284275
if commits_by_scmid.include? head.scmid
285276
space = index_head((space || -1) + 1, head, commits_by_scmid)

app/models/repository/darcs.rb

-114
This file was deleted.

config/configuration.yml.example

-3
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,12 @@ default:
9999
# scm_git_command: /usr/local/bin/git # (default: git)
100100
# scm_cvs_command: cvs # (default: cvs)
101101
# scm_bazaar_command: bzr.exe # (default: bzr)
102-
# scm_darcs_command: darcs-1.0.9-i386-linux # (default: darcs)
103102
#
104103
scm_subversion_command:
105104
scm_mercurial_command:
106105
scm_git_command:
107106
scm_cvs_command:
108107
scm_bazaar_command:
109-
scm_darcs_command:
110108

111109
# SCM paths validation.
112110
#
@@ -132,7 +130,6 @@ default:
132130
scm_git_path_regexp:
133131
scm_cvs_path_regexp:
134132
scm_bazaar_path_regexp:
135-
scm_darcs_path_regexp:
136133
scm_filesystem_path_regexp:
137134

138135
# Absolute path to the SCM commands errors (stderr) log file.

config/settings.yml

-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ enabled_scm:
119119
serialized: true
120120
default:
121121
- Subversion
122-
- Darcs
123122
- Mercurial
124123
- Cvs
125124
- Bazaar

extra/svn/reposman.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
require 'rubygems'
77

88
Version = "1.5"
9-
SUPPORTED_SCM = %w( Subversion Darcs Mercurial Bazaar Git Filesystem )
9+
SUPPORTED_SCM = %w( Subversion Mercurial Bazaar Git Filesystem )
1010

1111
$verbose = 0
1212
$quiet = false

lib/redmine.rb

-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
require 'redmine/plugin'
6767

6868
Redmine::Scm::Base.add "Subversion"
69-
Redmine::Scm::Base.add "Darcs"
7069
Redmine::Scm::Base.add "Mercurial"
7170
Redmine::Scm::Base.add "Cvs"
7271
Redmine::Scm::Base.add "Bazaar"

0 commit comments

Comments
 (0)