Commit Graph

316 Commits

Author SHA1 Message Date
Toshi MARUYAMA a49339c646 scm: bazaar: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 12:57:32 +00:00
Toshi MARUYAMA 19098302ea scm: mercurial: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 12:57:10 +00:00
Toshi MARUYAMA e6fe554d43 scm: git: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 11:45:20 +00:00
Toshi MARUYAMA 114e3f3b82 scm: git: use the model value of whether reporting last commit in repository tree (#7047).
And remove entries_git() and the flag in adapter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 11:43:29 +00:00
Toshi MARUYAMA 19a9cba214 scm: git: call entries_git() in adapter entry() for browsing tree performance (#7047).
cat/diff/blame link calls adapter entry().
Abstract adapter entry() calls adapter entries().
Git adapter entries() is very slow.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 18:09:13 +00:00
Toshi MARUYAMA 193af67f99 scm: git: call entries_git() in adapter entriese() for browsing tree performance (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 18:08:30 +00:00
Toshi MARUYAMA 18df827244 scm: git: override adapter entry() for browsing tree performance (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 18:07:50 +00:00
Toshi MARUYAMA 97b4ee2fef scm: git: split adapter entries() for browsing tree performance (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 18:07:15 +00:00
Toshi MARUYAMA 905a809774 scm: add "options" parameter in adapter entries().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 14:11:25 +00:00
Toshi MARUYAMA 8df05b9a6d scm remove trailing white-spaces in abstract adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 13:16:10 +00:00
Toshi MARUYAMA 741967ae68 scm: subversion: set available version above 1.3 (#4273, #1604).
"--xml" options are introduced in 1.3.
http://subversion.apache.org/docs/release-notes/1.3.html

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 08:26:38 +00:00
Toshi MARUYAMA bba6199e51 scm: subversion: fix newline 'LF' to 'CRLF' and remove trailing white-space.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 08:25:04 +00:00
Toshi MARUYAMA 956e8af591 scm: cvs: fix loss non ASCII paths if path_encoding is '' (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 05:02:44 +00:00
Toshi MARUYAMA d6a483684b scm: filesystem: fix loss non ASCII paths if path_encoding is '' (#2274).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 05:02:01 +00:00
Toshi MARUYAMA 7575989c78 scm: git: fix loss non ASCII paths if path_encoding is '' (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 05:01:28 +00:00
Toshi MARUYAMA ee7fe09b1e scm: mercurial: fix loss non ASCII paths if path_encoding is '' (#2664).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 05:00:57 +00:00
Toshi MARUYAMA 92023176b8 scm: bazaar: code clean up adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5545 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-24 09:55:51 +00:00
Toshi MARUYAMA fb9fed39fe scm: git: code clean up adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5544 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-24 09:55:26 +00:00
Toshi MARUYAMA 79b7e89cf9 scm: mercurial: change copied file from_revision from revision number to node id.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 09:33:07 +00:00
Toshi MARUYAMA a8e7936337 scm: mercurial: code clean up adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 09:32:35 +00:00
Toshi MARUYAMA da2c511cd1 scm: cvs: convert encoding paths in entries() of adapter (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 07:17:26 +00:00
Toshi MARUYAMA c84d2e6699 scm: cvs: convert encoding paths in revisions() of adapter (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5463 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 07:16:48 +00:00
Toshi MARUYAMA 991d39a9ac scm: cvs: convert encoding of command line arguments (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5462 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 07:16:04 +00:00
Toshi MARUYAMA eae0620e3a scm: cvs: set path encoding instance value (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5461 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 07:15:25 +00:00
Toshi MARUYAMA 50fe1ecc18 scm: cvs: strict string type and timezone in cvstime.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 04:23:42 +00:00
Toshi MARUYAMA 04a22fa757 scm: cvs: convert author encoding with log encoding setting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 15:39:00 +00:00
Toshi MARUYAMA 7e5bc046d6 scm: cvs: add comment of author regexp fails in some non UTF-8 chars on Ruby 1.8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5454 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 15:01:10 +00:00
Toshi MARUYAMA 12c856124b scm: cvs: code clean up adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-13 11:54:06 +00:00
Toshi MARUYAMA bc6b219fc9 scm: cvs: refactor adapter.
create new method path_with_proj() for calling cvs command.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5438 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 10:31:33 +00:00
Toshi MARUYAMA df04f56891 scm: cvs: remove adapter root_url() and url() methods which are implemented in abstract class.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 08:04:12 +00:00
Toshi MARUYAMA d09e496a57 scm: cvs: code clean up adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5436 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 06:53:08 +00:00
Toshi MARUYAMA 3bff6eb660 scm: subversion: use revision and identifier as string in blame.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 05:06:22 +00:00
Toshi MARUYAMA a7aee902f2 scm: subversion: code clean up model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 05:05:35 +00:00
Toshi MARUYAMA e9a33eff14 scm: cvs: use scm_cmd() in annotate of adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5412 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 15:45:20 +00:00
Toshi MARUYAMA 32a9937d4e scm: code clean up abstract_adapter.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5404 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 10:25:38 +00:00
Toshi MARUYAMA 0606dfdb62 scm: move :identifier from to attr_accessor in AbstractAdapter::Revision class.
All scms which support blame use identifier.
This commit remove the link of cvs blame revision.
Redmine can not handle cvs revision (e.g. 1.2) as changeset identifier.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5403 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 10:24:44 +00:00
Toshi MARUYAMA a5384e4e88 scm: cvs: override Revision.format_identifier() for blame in adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5402 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 08:34:59 +00:00
Toshi MARUYAMA a6798d6cc2 scm: cvs: set identifier nil in blame.
Redmine can not handle cvs revision (e.g. 1.2) as changeset identifier.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 08:34:18 +00:00
Toshi MARUYAMA 4491f71441 scm: bazaar: use revision and identifier as string.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5400 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 08:33:32 +00:00
Toshi MARUYAMA 91dc3245dd scm: cvs: add -q option at rls.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5399 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 07:02:13 +00:00
Toshi MARUYAMA 25aa4d4fa0 scm: cvs: add -q option at rlog.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5397 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 06:51:41 +00:00
Toshi MARUYAMA 064e8476e8 scm: cvs: add -q option at cat.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5396 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 06:30:47 +00:00
Toshi MARUYAMA 717e2a0a9f scm: cvs: use scm_cmd() in cat.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5395 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 06:30:07 +00:00
Toshi MARUYAMA 71360a0f66 scm: cvs: use scm_cmd() for diff.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5393 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 05:53:35 +00:00
Toshi MARUYAMA f86779bd59 scm: bazaar: use identifier in blame.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5392 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 05:52:55 +00:00
Toshi MARUYAMA 4c3d8b681b scm: git: use revision and scmid in blame.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5391 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 05:52:34 +00:00
Toshi MARUYAMA 39c7f2942c scm: subversion: use revision in blame.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5390 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 05:52:07 +00:00
Toshi MARUYAMA 5778d3c51e scm: cvs: code clean up adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5389 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 04:18:55 +00:00
Toshi MARUYAMA d5bb4b349a scm: cvs: code clean up adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-10 12:27:53 +00:00
Toshi MARUYAMA bac26830e5 scm: code clean up lib/redmine/scm/adapters/abstract_adapter.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-10 08:11:18 +00:00
Toshi MARUYAMA c6ec41473e scm: cvs: code clean up lib/redmine/scm/adapters/cvs_adapter.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5380 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-10 08:10:57 +00:00
Toshi MARUYAMA 740051b769 scm: cvs: code clean up lib/redmine/scm/adapters/cvs_adapter.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5377 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-09 23:23:10 +00:00
Toshi MARUYAMA fd316c99fa scm: mercurial: set client available if cvs version above 0.9.5.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5358 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-08 04:39:55 +00:00
Toshi MARUYAMA b23bf1f299 scm: git: use "-c log.decorate=no" option instead of "--no-decorate" of "git log" above Git 1.7.2 (#8081, #8083).
Git on Redmine CI Server does not support "--no-decorate" option of "git log".

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5349 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-06 07:16:25 +00:00
Toshi MARUYAMA 00277a2a0a scm: git: add "--no-decorate" option in "git log".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5334 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 23:03:49 +00:00
Toshi MARUYAMA e53c8cfc1b scm: filesystem: prevent exception raises if path encoding is incorrect.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-20 14:06:49 +00:00
Toshi MARUYAMA 3ea7b9a768 scm: git: default_branch() returns nil explicitly if branches are empty.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-19 15:50:08 +00:00
Toshi MARUYAMA dbb0d880a7 scm: git: prevent showing trace when repository path changed.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-15 07:14:19 +00:00
Toshi MARUYAMA bf6ec48bea 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
2011-03-14 02:23:54 +00:00
Toshi MARUYAMA d48a7e148e 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
2011-03-13 15:03:05 +00:00
Toshi MARUYAMA b914a3648a 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
2011-03-13 00:48:07 +00:00
Toshi MARUYAMA 2e2055c051 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
2011-03-13 00:47:47 +00:00
Toshi MARUYAMA 732ee35b2f 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
2011-03-11 04:19:33 +00:00
Toshi MARUYAMA 651976eebd 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
2011-03-11 04:19:12 +00:00
Toshi MARUYAMA 45cba97088 scm: cvs: code clean up adapter entries().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-11 01:48:36 +00:00
Toshi MARUYAMA eea06ab770 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
2011-03-11 01:48:18 +00:00
Toshi MARUYAMA b5bf2fb322 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
2011-03-11 00:42:59 +00:00
Toshi MARUYAMA d3d7ea08f4 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
2011-03-11 00:42:40 +00:00
Toshi MARUYAMA 16be7f2e30 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
2011-03-08 23:30:29 +00:00
Toshi MARUYAMA f36f5d0fee 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
2011-03-08 13:22:53 +00:00
Toshi MARUYAMA 4f5f98220e 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
2011-03-08 12:45:32 +00:00
Toshi MARUYAMA de71851e98 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
2011-03-08 11:13:18 +00:00
Toshi MARUYAMA 3a39fc6176 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
2011-03-08 06:38:00 +00:00
Toshi MARUYAMA 9294fb4699 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
2011-03-08 06:10:53 +00:00
Toshi MARUYAMA dc4ab44938 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
2011-03-08 05:18:04 +00:00
Toshi MARUYAMA 7e6a5ec7ab 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
2011-03-08 05:17:43 +00:00
Toshi MARUYAMA c809c0c498 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
2011-03-08 05:17:22 +00:00
Toshi MARUYAMA c4b84ec510 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
2011-03-08 04:50:48 +00:00
Toshi MARUYAMA 5086bc4383 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
2011-03-08 04:50:28 +00:00
Toshi MARUYAMA 32bd4ec0b4 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
2011-03-08 04:50:06 +00:00
Toshi MARUYAMA 08ee6a3932 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
2011-03-08 03:29:58 +00:00
Toshi MARUYAMA 3c0fdd4938 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
2011-03-08 03:29:36 +00:00
Toshi MARUYAMA a1364ed2b8 scm: git: code clean up adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 03:29:11 +00:00
Toshi MARUYAMA 984cb589ef 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
2011-03-07 14:09:29 +00:00
Toshi MARUYAMA 30063d14c1 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
2011-03-07 13:46:42 +00:00
Toshi MARUYAMA 90d4447bd3 scm: git: change core.quotepath = true temporarily to run git command (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5025 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 13:14:44 +00:00
Toshi MARUYAMA fce4dcb5a6 scm: git: add core.quotepath = false to run git command (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5024 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 12:42:14 +00:00
Toshi MARUYAMA 32e69dcaca scm: mercurial: convert copied file path encoding (#2664).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4995 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-03 12:44:14 +00:00
Toshi MARUYAMA 5c3caf2e6b scm: mercurial: remove localtime from adapter (#4455).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4994 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-03 12:11:23 +00:00
Toshi MARUYAMA 923558e45c scm: Ruby 1.9 compatibility for XML UTF-8 parsing.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4993 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-03 05:51:46 +00:00
Toshi MARUYAMA 71aac2e3fe scm: fix unit tests fails in Ruby 1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-03 05:32:33 +00:00
Toshi MARUYAMA c3e8fc5f1a scm: mercurial: wrap revison, tag and branch with URL encoding for entries (#4455, #1981, #7246).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-02 10:17:36 +00:00
Toshi MARUYAMA eb1271bb44 scm: git: use --encoding=UTF-8 in "git log" (#3396).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4964 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-28 14:12:47 +00:00
Toshi MARUYAMA 06c9eea67a scm: git: refactor lastrev() in adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4963 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-28 14:12:24 +00:00
Toshi MARUYAMA d7aa303a5c scm: git: move saving changesets from adapter to model (#3396).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4959 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-28 04:46:42 +00:00
Toshi MARUYAMA 9a8c88ec0a scm: git: add flag of disable showing last commit in repository tree (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4945 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-24 13:01:13 +00:00
Toshi MARUYAMA 9937ac677f scm: update adapter initialize() to use path encoding (#2664, #2274).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4941 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-24 05:58:59 +00:00
Toshi MARUYAMA a2e47f9fba scm: cvs: fix CVS diffs do not handle new files properly (#7615).
Contributed by Jim Naslund.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-24 04:03:43 +00:00
Toshi MARUYAMA e51aeb5a40 scm: use "ASCII-8BIT" in IO.popen() in Ruby 1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-24 04:03:16 +00:00
Toshi MARUYAMA 0edde5da92 scm: mercurial: replace urllib.unquote to urllib.unquote_plus in helper (#4455).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4934 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-23 11:38:23 +00:00