diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-07-25 17:32:53 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-07-25 17:32:53 +0000 |
commit | 0910b2bdbe5144238f6fb66e9b1172578a056472 (patch) | |
tree | 791fc42a1d41afedef640b95d841851e5654ae90 /app/helpers/repositories_helper.rb | |
parent | 33d95444b66d4b4f88443957c200675157ca9963 (diff) | |
download | redmine-0910b2bdbe5144238f6fb66e9b1172578a056472.tar.gz redmine-0910b2bdbe5144238f6fb66e9b1172578a056472.zip |
Drop Darcs support (#26391).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16886 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/repositories_helper.rb')
-rw-r--r-- | app/helpers/repositories_helper.rb | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index 4778c79a1..314c0b29b 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -157,15 +157,6 @@ module RepositoriesHelper :onchange => "this.name='repository[password]';")) end - def darcs_field_tags(form, repository) - content_tag('p', form.text_field( - :url, :label => l(:field_path_to_repository), - :size => 60, :required => true, - :disabled => !repository.safe_attribute?('url')) + - scm_path_info_tag(repository)) + - scm_log_encoding_tag(form, repository) - end - def mercurial_field_tags(form, repository) content_tag('p', form.text_field( :url, :label => l(:field_path_to_repository), @@ -279,7 +270,7 @@ module RepositoriesHelper } end heads.sort! { |head1, head2| head1.to_s <=> head2.to_s } - space = nil + space = nil heads.each do |head| if commits_by_scmid.include? head.scmid space = index_head((space || -1) + 1, head, commits_by_scmid) |