Commit Graph

284 Commits

Author SHA1 Message Date
Toshi MARUYAMA 3d519e37ee scm: bazaar: check not nil in adapter append_revisions_only() (#2799, #4741, #8030).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 08:51:38 +00:00
Toshi MARUYAMA 57f3b6f592 scm: bazaar: use explicit return value in adapter branch_conf_path() (#2799, #4741, #8030).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5894 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 08:51:15 +00:00
Toshi MARUYAMA 8b032bccf1 scm: bazaar: add adapter method to get "append_revisions_only" value from .bzr/branch/branch.conf (#2799, #4741, #8030).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 08:05:58 +00:00
Toshi MARUYAMA 05b292030c scm: bazaar: add adapter method to get .bzr/branch/branch.conf path from specified path (#2799, #4741, #8030).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 07:46:03 +00:00
Toshi MARUYAMA 61c5740a86 scm: git: override "path_encoding" method in adapter (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5870 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:39:42 +00:00
Toshi MARUYAMA a1e3cf8218 scm: mercurial: override "path_encoding" method in adapter (#2664).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5868 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:38:04 +00:00
Toshi MARUYAMA 0840ad69ea scm: cvs: override "path_encoding" method in adapter (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5866 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:18:53 +00:00
Toshi MARUYAMA cbd1715109 scm: filesystem: override "path_encoding" method in adapter (#2274).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5864 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:17:34 +00:00
Toshi MARUYAMA 3d4a3315f6 scm: add "path_encoding" method in abstract adapter (#2274, #3462, #2664, #5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:16:51 +00:00
Toshi MARUYAMA 38d5925d70 scm: git: back out r5673 (#7146).
recovery "block_given?" in adapter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:03:26 +00:00
Toshi MARUYAMA b8850ca9d6 scm: git: output log if revisions() catches an error (#7146).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 23:44:43 +00:00
Toshi MARUYAMA d778281881 scm: subversion: set svn:eol-style=native adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-10 17:52:56 +00:00
Toshi MARUYAMA f69572b956 scm: git: change local value "revisions" name to "revs" in adapter revisions().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5674 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 13:49:33 +00:00
Toshi MARUYAMA 1194235faa scm: git: remove unused "block_given?" from adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 13:49:10 +00:00
Toshi MARUYAMA e9e477426a scm: remove trailing white-spaces from abstract adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 13:48:36 +00:00
Toshi MARUYAMA 2db0475454 scm: subversion: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 13:48:07 +00:00
Toshi MARUYAMA 6d75ac6560 scm: filesystem: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 12:58:14 +00:00
Toshi MARUYAMA dafdcf3879 scm: darcs: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5669 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 12:57:54 +00:00
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