]> source.dussan.org Git - redmine.git/commitdiff
scm: add notes "local repository" in Git and Mercurial setting.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 1 Mar 2011 04:43:30 +0000 (04:43 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 1 Mar 2011 04:43:30 +0000 (04:43 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4974 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/repositories_helper.rb

index f19d993ff24c44863221f7b0bd1ddcb8c8673a1c..e588fe366e6aaeb2a0903f27bf00f206d1cfe972 100644 (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)