]> source.dussan.org Git - redmine.git/log
redmine.git
13 years agoscm: mercurial: add test of latest changesets support named branch in unit model...
Toshi MARUYAMA [Mon, 14 Mar 2011 13:41:28 +0000 (13:41 +0000)]
scm: mercurial: add test of latest changesets support named branch in unit model test (#7246).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5128 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: latest changesets support named branch (#7246).
Toshi MARUYAMA [Mon, 14 Mar 2011 13:41:01 +0000 (13:41 +0000)]
scm: mercurial: latest changesets support named branch (#7246).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5127 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: add latest changesets supporting tag test in unit model test (#1981).
Toshi MARUYAMA [Mon, 14 Mar 2011 11:15:23 +0000 (11:15 +0000)]
scm: mercurial: add latest changesets supporting tag test in unit model test (#1981).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5126 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: add latest changesets improvement test in unit model test.
Toshi MARUYAMA [Mon, 14 Mar 2011 11:03:55 +0000 (11:03 +0000)]
scm: mercurial: add latest changesets improvement test in unit model test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5125 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: add latest changesets improvement test in functional test.
Toshi MARUYAMA [Mon, 14 Mar 2011 11:03:34 +0000 (11:03 +0000)]
scm: mercurial: add latest changesets improvement test in functional test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5124 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: latest changesets improvement and supporting tag (#1981).
Toshi MARUYAMA [Mon, 14 Mar 2011 10:36:34 +0000 (10:36 +0000)]
scm: mercurial: latest changesets improvement and supporting tag (#1981).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5123 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: check changesets size is greater than 0 in browse test in functional...
Toshi MARUYAMA [Mon, 14 Mar 2011 10:23:51 +0000 (10:23 +0000)]
scm: mercurial: check changesets size is greater than 0 in browse test in functional test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5122 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add browsing tag test in functional test.
Toshi MARUYAMA [Mon, 14 Mar 2011 08:16:23 +0000 (08:16 +0000)]
scm: git: add browsing tag test in functional test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5121 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: check entries and changesets size are greater than 0 in browse test in...
Toshi MARUYAMA [Mon, 14 Mar 2011 08:16:03 +0000 (08:16 +0000)]
scm: git: check entries and changesets size are greater than 0 in browse test in functional test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5120 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: code clean up functional test.
Toshi MARUYAMA [Mon, 14 Mar 2011 08:15:42 +0000 (08:15 +0000)]
scm: git: code clean up functional test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5119 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: prepare tests of named branch and tag in functional test (#1981,...
Toshi MARUYAMA [Mon, 14 Mar 2011 08:15:22 +0000 (08:15 +0000)]
scm: mercurial: prepare tests of named branch and tag in functional test (#1981, #7246).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5118 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: prepare tests of named branch and tag in unit model test (#1981,...
Toshi MARUYAMA [Mon, 14 Mar 2011 08:15:00 +0000 (08:15 +0000)]
scm: mercurial: prepare tests of named branch and tag in unit model test (#1981, #7246).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5117 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: code clean up unit model test.
Toshi MARUYAMA [Mon, 14 Mar 2011 08:14:38 +0000 (08:14 +0000)]
scm: mercurial: code clean up unit model test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5116 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: add test of non ASCII named branch in unit adapter test (#7246).
Toshi MARUYAMA [Mon, 14 Mar 2011 04:55:20 +0000 (04:55 +0000)]
scm: mercurial: add test of non ASCII named branch in unit adapter test (#7246).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5115 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: add test of non ASCII tag in unit adapter test (#1981).
Toshi MARUYAMA [Mon, 14 Mar 2011 04:55:03 +0000 (04:55 +0000)]
scm: mercurial: add test of non ASCII tag in unit adapter test (#1981).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5114 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: prepare test of wrapping revision of cat and annotate with URL encodi...
Toshi MARUYAMA [Mon, 14 Mar 2011 04:54:45 +0000 (04:54 +0000)]
scm: mercurial: prepare test of wrapping revision of cat and annotate with URL encoding (#1981, #7246).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5113 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: wrap revision of cat and annotate with URL encoding (#1981, #7246).
Toshi MARUYAMA [Mon, 14 Mar 2011 02:23:54 +0000 (02:23 +0000)]
scm: mercurial: wrap revision of cat and annotate with URL encoding (#1981, #7246).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5112 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoUpdates zoom icons and removes unused ones.
Jean-Philippe Lang [Sun, 13 Mar 2011 16:56:20 +0000 (16:56 +0000)]
Updates zoom icons and removes unused ones.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5111 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoCheck for a valid time entry if comments have been entered when updating an issue...
Jean-Philippe Lang [Sun, 13 Mar 2011 16:38:01 +0000 (16:38 +0000)]
Check for a valid time entry if comments have been entered when updating an issue (#7581).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5110 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdd "mystery man" gravatar to options (#7640).
Jean-Philippe Lang [Sun, 13 Mar 2011 16:07:55 +0000 (16:07 +0000)]
Add "mystery man" gravatar to options (#7640).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5109 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: remove unused parameters from "nodes_in_branch()" method in adapter...
Toshi MARUYAMA [Sun, 13 Mar 2011 15:03:05 +0000 (15:03 +0000)]
scm: mercurial: remove unused parameters from "nodes_in_branch()" method in adapter (#7246, #4455).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5108 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRemoved useless javascript.
Jean-Philippe Lang [Sun, 13 Mar 2011 13:32:44 +0000 (13:32 +0000)]
Removed useless javascript.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5107 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds an autoscroll div around permissions report table.
Jean-Philippe Lang [Sun, 13 Mar 2011 13:31:36 +0000 (13:31 +0000)]
Adds an autoscroll div around permissions report table.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5106 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixed: mail handler keywords are not removed when updating issues (#7785).
Jean-Philippe Lang [Sun, 13 Mar 2011 13:24:56 +0000 (13:24 +0000)]
Fixed: mail handler keywords are not removed when updating issues (#7785).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5105 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPrevent SystemStackError on Issue#all_dependent_issues with mutiple circular dependen...
Jean-Philippe Lang [Sun, 13 Mar 2011 13:00:55 +0000 (13:00 +0000)]
Prevent SystemStackError on Issue#all_dependent_issues with mutiple circular dependencies (#7320).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5104 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: add tests for "nodes_in_branch()" method in adapter (#7246, #4455).
Toshi MARUYAMA [Sun, 13 Mar 2011 10:52:03 +0000 (10:52 +0000)]
scm: mercurial: add tests for "nodes_in_branch()" method in adapter (#7246, #4455).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5103 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: add new "nodes_in_branch()" method in adapter (#7246, #4455).
Toshi MARUYAMA [Sun, 13 Mar 2011 00:48:07 +0000 (00:48 +0000)]
scm: mercurial: add new "nodes_in_branch()" method in adapter (#7246, #4455).

For latest changesets supporting named branch.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5102 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: add new "rhlog()" function in helper extension (#7246, #4455).
Toshi MARUYAMA [Sun, 13 Mar 2011 00:47:47 +0000 (00:47 +0000)]
scm: mercurial: add new "rhlog()" function in helper extension (#7246, #4455).

For latest changesets supporting named branch.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5101 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixed: Wiki headings containing backslash followed by a digit are not displayed corre...
Jean-Philippe Lang [Sat, 12 Mar 2011 18:28:30 +0000 (18:28 +0000)]
Fixed: Wiki headings containing backslash followed by a digit are not displayed correctly (#7846).

Contributed by Etienne Massip.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5100 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds an option to #render_page_hierarchy to add timestamp titles.
Jean-Philippe Lang [Sat, 12 Mar 2011 18:27:02 +0000 (18:27 +0000)]
Adds an option to #render_page_hierarchy to add timestamp titles.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5099 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoMoved wiki page updated_on eager load to a scope and fixed timestamp titles on wiki...
Jean-Philippe Lang [Sat, 12 Mar 2011 18:09:46 +0000 (18:09 +0000)]
Moved wiki page updated_on eager load to a scope and fixed timestamp titles on wiki page index (#7818).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5098 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixed: wiki page with backslash in title can not be found (#7589).
Jean-Philippe Lang [Sat, 12 Mar 2011 13:42:29 +0000 (13:42 +0000)]
Fixed: wiki page with backslash in title can not be found (#7589).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5097 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes diff test regarding r5094.
Jean-Philippe Lang [Sat, 12 Mar 2011 12:14:14 +0000 (12:14 +0000)]
Fixes diff test regarding r5094.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5096 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes diff test regarding r5094.
Jean-Philippe Lang [Sat, 12 Mar 2011 12:06:58 +0000 (12:06 +0000)]
Fixes diff test regarding r5094.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5095 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoHighlight changes inside diff lines (#7139).
Jean-Philippe Lang [Fri, 11 Mar 2011 20:23:29 +0000 (20:23 +0000)]
Highlight changes inside diff lines (#7139).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5094 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: fix missing author, revision and comment in tree view (#4270).
Toshi MARUYAMA [Fri, 11 Mar 2011 12:06:05 +0000 (12:06 +0000)]
scm: cvs: fix missing author, revision and comment in tree view (#4270).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5093 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: add :order => 'id DESC' explicitly for MySQL test fails.
Toshi MARUYAMA [Fri, 11 Mar 2011 07:34:14 +0000 (07:34 +0000)]
scm: mercurial: add :order => 'id DESC' explicitly for MySQL test fails.

Because :order => 'id DESC' is defined at 'has_many',
there is no need to set 'order'.
But, MySQL test fails.
Sqlite3 and PostgreSQL pass.
Is this MySQL bug?

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5091 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: remove duplicates tests in unit model test.
Toshi MARUYAMA [Fri, 11 Mar 2011 07:33:53 +0000 (07:33 +0000)]
scm: mercurial: remove duplicates tests in unit model test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5090 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: fix unit model test fails on MySQL and remove duplicates tests.
Toshi MARUYAMA [Fri, 11 Mar 2011 04:38:26 +0000 (04:38 +0000)]
scm: mercurial: fix unit model test fails on MySQL and remove duplicates tests.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5089 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: fix age column on repository view is off by timezone delta (#7827).
Toshi MARUYAMA [Fri, 11 Mar 2011 04:19:33 +0000 (04:19 +0000)]
scm: cvs: fix age column on repository view is off by timezone delta (#7827).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5088 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: use "-D time_to_cvstime_rlog(identifier)" in adapter entries().
Toshi MARUYAMA [Fri, 11 Mar 2011 04:19:12 +0000 (04:19 +0000)]
scm: cvs: use "-D time_to_cvstime_rlog(identifier)" in adapter entries().

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5087 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: code clean up adapter entries().
Toshi MARUYAMA [Fri, 11 Mar 2011 01:48:36 +0000 (01:48 +0000)]
scm: cvs: code clean up adapter entries().

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5086 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: use scm_cmd() in adapter revisions().
Toshi MARUYAMA [Fri, 11 Mar 2011 01:48:18 +0000 (01:48 +0000)]
scm: cvs: use scm_cmd() in adapter revisions().

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5085 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: code clean up model.
Toshi MARUYAMA [Fri, 11 Mar 2011 00:43:24 +0000 (00:43 +0000)]
scm: cvs: code clean up model.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5084 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: use scm_cmd() in adapter entries().
Toshi MARUYAMA [Fri, 11 Mar 2011 00:42:59 +0000 (00:42 +0000)]
scm: cvs: use scm_cmd() in adapter entries().

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5083 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: add new method 'scm_cmd' to wrap shellout.
Toshi MARUYAMA [Fri, 11 Mar 2011 00:42:40 +0000 (00:42 +0000)]
scm: cvs: add new method 'scm_cmd' to wrap shellout.

Refer Mercurial adapter r4830.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5082 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: cvs: code clean up functional test.
Toshi MARUYAMA [Fri, 11 Mar 2011 00:42:21 +0000 (00:42 +0000)]
scm: cvs: code clean up functional test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5081 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoSpeeds up WikiHelper#wiki_page_options_for_select.
Jean-Philippe Lang [Thu, 10 Mar 2011 19:44:32 +0000 (19:44 +0000)]
Speeds up WikiHelper#wiki_page_options_for_select.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5080 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoCode cleanup.
Jean-Philippe Lang [Thu, 10 Mar 2011 19:34:49 +0000 (19:34 +0000)]
Code cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5079 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoCode cleanup.
Jean-Philippe Lang [Thu, 10 Mar 2011 19:34:17 +0000 (19:34 +0000)]
Code cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5078 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoGantt: do not ignore project filter (#7000, #7352), do not display empty projects...
Jean-Philippe Lang [Thu, 10 Mar 2011 18:07:09 +0000 (18:07 +0000)]
Gantt: do not ignore project filter (#7000, #7352), do not display empty projects/versions, and display shared versions used in other projects (#5817, #6476, #6604).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5077 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPrevent icons clipping on gantt.
Jean-Philippe Lang [Thu, 10 Mar 2011 17:40:51 +0000 (17:40 +0000)]
Prevent icons clipping on gantt.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5076 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: fix newlines of test/unit/repository_git_test.rb.
Toshi MARUYAMA [Thu, 10 Mar 2011 08:43:23 +0000 (08:43 +0000)]
scm: git: fix newlines of test/unit/repository_git_test.rb.

svn cat fails.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5075 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add tests for previous and next versions in unit model test (#7821, #5357).
Toshi MARUYAMA [Thu, 10 Mar 2011 04:31:10 +0000 (04:31 +0000)]
scm: git: add tests for previous and next versions in unit model test (#7821, #5357).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5074 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: insert revisions to database with reverse commit order (#7821, #5357).
Toshi MARUYAMA [Thu, 10 Mar 2011 04:30:47 +0000 (04:30 +0000)]
scm: git: insert revisions to database with reverse commit order (#7821, #5357).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5073 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: unit model latin-1 path encoding test passes on Japanese Windows (#5251).
Toshi MARUYAMA [Wed, 9 Mar 2011 04:14:17 +0000 (04:14 +0000)]
scm: git: unit model latin-1 path encoding test passes on Japanese Windows (#5251).

Ruby uses ANSI api to fork a process on Windows.
Japanese Shift_JIS and Traditional Chinese Big5 have 0x5c(backslash) problem
and these are incompatible with ASCII.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5072 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: unit adapter latin-1 path encoding test passes on Japanese Windows (#5251).
Toshi MARUYAMA [Wed, 9 Mar 2011 04:13:58 +0000 (04:13 +0000)]
scm: git: unit adapter latin-1 path encoding test passes on Japanese Windows (#5251).

Ruby uses ANSI api to fork a process on Windows.
Japanese Shift_JIS and Traditional Chinese Big5 have 0x5c(backslash) problem
and these are incompatible with ASCII.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5071 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: fix PortgreSQL functional test fails (#5251).
Toshi MARUYAMA [Wed, 9 Mar 2011 01:25:40 +0000 (01:25 +0000)]
scm: git: fix PortgreSQL functional test fails (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5070 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: switch "-c core.quotepath=false" in git version above 1.7.2 or not (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 23:30:29 +0000 (23:30 +0000)]
scm: git: switch "-c core.quotepath=false" in git version above 1.7.2 or not (#5251).

The -c option was introduced in git version (1.7.2)
http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.txt

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5069 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: change core.quotepath to false in test repository config (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 23:18:27 +0000 (23:18 +0000)]
scm: git: change core.quotepath to false in test repository config (#5251).

The -c option was introduced in git version (1.7.2)
http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.txt

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5068 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add reverse log test in unit adapter test (#5357).
Toshi MARUYAMA [Tue, 8 Mar 2011 15:05:41 +0000 (15:05 +0000)]
scm: git: add reverse log test in unit adapter test (#5357).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5067 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: fix unit adapter test fails in Ruby 1.9 Linux latin-1 locale (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 13:22:53 +0000 (13:22 +0000)]
scm: git: fix unit adapter test fails in Ruby 1.9 Linux latin-1 locale (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5066 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: fix unit adapter test fails in Ruby 1.9 Linux latin-1 locale (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 12:45:32 +0000 (12:45 +0000)]
scm: git: fix unit adapter test fails in Ruby 1.9 Linux latin-1 locale (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5065 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add path encoding select box at setting (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 12:08:56 +0000 (12:08 +0000)]
scm: git: add path encoding select box at setting (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5064 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add latin-1 encoding directory test in unit model test (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 12:08:35 +0000 (12:08 +0000)]
scm: git: add latin-1 encoding directory test in unit model test (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5063 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add latin-1 encoding directory test in unit adapter test (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 12:08:14 +0000 (12:08 +0000)]
scm: git: add latin-1 encoding directory test in unit adapter test (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5062 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: fix latin-1 directory entries() in adapter (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 11:13:18 +0000 (11:13 +0000)]
scm: git: fix latin-1 directory entries() in adapter (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5061 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add latin-1 encoding directory to test repository (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 11:01:51 +0000 (11:01 +0000)]
scm: git: add latin-1 encoding directory to test repository (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5060 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: mercurial: add latin-1 encoding directory to test repository (#2664).
Toshi MARUYAMA [Tue, 8 Mar 2011 10:35:48 +0000 (10:35 +0000)]
scm: mercurial: add latin-1 encoding directory to test repository (#2664).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5059 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add latest changesets path encoding test in unit model test (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 07:41:25 +0000 (07:41 +0000)]
scm: git: add latest changesets path encoding test in unit model test (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5058 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: prepare path encoding test in unit model test (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 07:41:04 +0000 (07:41 +0000)]
scm: git: prepare path encoding test in unit model test (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5057 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add latest changesets branch test in unit model test (#5357).
Toshi MARUYAMA [Tue, 8 Mar 2011 07:06:46 +0000 (07:06 +0000)]
scm: git: add latest changesets branch test in unit model test (#5357).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5056 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add latest changesets tag test in unit model test (#5357).
Toshi MARUYAMA [Tue, 8 Mar 2011 07:06:25 +0000 (07:06 +0000)]
scm: git: add latest changesets tag test in unit model test (#5357).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5055 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add latest changesets limit test in unit model test (#5357).
Toshi MARUYAMA [Tue, 8 Mar 2011 07:06:04 +0000 (07:06 +0000)]
scm: git: add latest changesets limit test in unit model test (#5357).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5054 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: remove Setting.commit_logs_encoding from unit model test.
Toshi MARUYAMA [Tue, 8 Mar 2011 06:50:29 +0000 (06:50 +0000)]
scm: git: remove Setting.commit_logs_encoding from unit model test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5053 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add latest changesets test in unit model test (#5357).
Toshi MARUYAMA [Tue, 8 Mar 2011 06:50:05 +0000 (06:50 +0000)]
scm: git: add latest changesets test in unit model test (#5357).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5052 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: prepare path encoding test in unit model test (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 06:49:44 +0000 (06:49 +0000)]
scm: git: prepare path encoding test in unit model test (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5051 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add tests for path encoding entries() in unit adapter test (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 06:38:23 +0000 (06:38 +0000)]
scm: git: add tests for path encoding entries() in unit adapter test (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5050 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add core.quotepath = false to run git command (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 06:38:00 +0000 (06:38 +0000)]
scm: git: add core.quotepath = false to run git command (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5049 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add tests for branch entries() in unit adapter test.
Toshi MARUYAMA [Tue, 8 Mar 2011 06:37:39 +0000 (06:37 +0000)]
scm: git: add tests for branch entries() in unit adapter test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5048 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add tests for tag entries() in unit adapter test.
Toshi MARUYAMA [Tue, 8 Mar 2011 06:37:18 +0000 (06:37 +0000)]
scm: git: add tests for tag entries() in unit adapter test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5047 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: use scm_cmd() in adapter tags().
Toshi MARUYAMA [Tue, 8 Mar 2011 06:10:53 +0000 (06:10 +0000)]
scm: git: use scm_cmd() in adapter tags().

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5046 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add tags test in unit adapter test.
Toshi MARUYAMA [Tue, 8 Mar 2011 06:10:30 +0000 (06:10 +0000)]
scm: git: add tags test in unit adapter test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5045 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add tests for path encoding cat, diff and blame in unit adapter test (...
Toshi MARUYAMA [Tue, 8 Mar 2011 06:10:07 +0000 (06:10 +0000)]
scm: git: add tests for path encoding cat, diff and blame in unit adapter test (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5044 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: use scm_cmd() in adapter branches().
Toshi MARUYAMA [Tue, 8 Mar 2011 05:18:04 +0000 (05:18 +0000)]
scm: git: use scm_cmd() in adapter branches().

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5043 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: support path encoding in adapter cat (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 05:17:43 +0000 (05:17 +0000)]
scm: git: support path encoding in adapter cat (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5042 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: support path encoding in adapter blame (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 05:17:22 +0000 (05:17 +0000)]
scm: git: support path encoding in adapter blame (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5041 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: support path encoding in adapter entries() (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 04:50:48 +0000 (04:50 +0000)]
scm: git: support path encoding in adapter entries() (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5040 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: support path encoding in adapter diff (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 04:50:28 +0000 (04:50 +0000)]
scm: git: support path encoding in adapter diff (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5039 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: support path encoding in adapter revisions() (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 04:50:06 +0000 (04:50 +0000)]
scm: git: support path encoding in adapter revisions() (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5038 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add two tags to test repository.
Toshi MARUYAMA [Tue, 8 Mar 2011 03:52:33 +0000 (03:52 +0000)]
scm: git: add two tags to test repository.

One is lightweight, another is annotated.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5037 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: convert path encoding in "git log" (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 03:29:58 +0000 (03:29 +0000)]
scm: git: convert path encoding in "git log" (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5036 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: add instance variable for path encoding in adapter (#5251).
Toshi MARUYAMA [Tue, 8 Mar 2011 03:29:36 +0000 (03:29 +0000)]
scm: git: add instance variable for path encoding in adapter (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5035 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: code clean up adapter.
Toshi MARUYAMA [Tue, 8 Mar 2011 03:29:11 +0000 (03:29 +0000)]
scm: git: code clean up adapter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5034 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: update test repository for path encoding (#5251).
Toshi MARUYAMA [Mon, 7 Mar 2011 23:47:25 +0000 (23:47 +0000)]
scm: git: update test repository for path encoding (#5251).

Mercurial and Git treats file names as byte string.
This git test repository contains Latin-1 encoding path.
Be careful on non Latin-1(CP1252) Windows.

Please see r4996 comment.

I removed a revision including "copied file" from r5026 test repository.
Mercurial supports "copy", but Git does not support.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5033 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoCHANGELOG updated.
Jean-Philippe Lang [Mon, 7 Mar 2011 19:26:24 +0000 (19:26 +0000)]
CHANGELOG updated.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5030 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: remove "core.quotepath = true" to run git command (#5251).
Toshi MARUYAMA [Mon, 7 Mar 2011 14:09:29 +0000 (14:09 +0000)]
scm: git: remove "core.quotepath = true" to run git command (#5251).

If path encoding is UTF-8, git adapter may run on Linux.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5029 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: use core.quotepath = true to run git command for database safety (#5251).
Toshi MARUYAMA [Mon, 7 Mar 2011 13:46:42 +0000 (13:46 +0000)]
scm: git: use core.quotepath = true to run git command for database safety (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5028 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: backout r5026 (#5251).
Toshi MARUYAMA [Mon, 7 Mar 2011 13:46:21 +0000 (13:46 +0000)]
scm: git: backout r5026 (#5251).

In case git repository contains latin-1 path,
although Redmine uses "git log -C core.quotepath=false --encoding=UTF-8",
log encoding is latin-1.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5027 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoscm: git: update test repository for path encoding (#5251).
Toshi MARUYAMA [Mon, 7 Mar 2011 13:15:04 +0000 (13:15 +0000)]
scm: git: update test repository for path encoding (#5251).

Mercurial and Git treats file names as byte string.
This git test repository contains Latin-1 encoding path.
Be careful on non Latin-1(CP1252) Windows.

Please see r4996 comment.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5026 e93f8b46-1217-0410-a6f0-8f06a7374b81