scm: add notes "local repository" in Git and Mercurial setting.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4974 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-03-01 04:43:30 +00:00
parent 93bc9b17a9
commit 571ecf07e3
1 changed files with 4 additions and 2 deletions

View File

@ -195,13 +195,15 @@ module RepositoriesHelper
def mercurial_field_tags(form, repository)
content_tag('p', form.text_field(:url, :label => 'Root directory',
:size => 60, :required => true,
:disabled => (repository && !repository.root_url.blank?)))
:disabled => (repository && !repository.root_url.blank?)) +
'<br />local repository (e.g. /hgrepo, c:\hgrepo)' )
end
def git_field_tags(form, repository)
content_tag('p', form.text_field(:url, :label => 'Path to repository',
:size => 60, :required => true,
:disabled => (repository && !repository.root_url.blank?)))
:disabled => (repository && !repository.root_url.blank?)) +
'<br />a bare and local repository (e.g. /gitrepo, c:\gitrepo)')
end
def cvs_field_tags(form, repository)