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:
parent
93bc9b17a9
commit
571ecf07e3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue