Holger Just
91070236db
Set source encoding to UTF-8
2011-10-29 14:48:03 +02:00
Eric Davis
4b3bd797b0
Fix errors when trying to check for binary SCM strings in 1.9.2
...
1.9.2 removed String#is_binary_data?
2011-07-22 14:35:01 -07:00
Holger Just
07185fb169
[ #436 ] Remove trailing whitespace
2011-05-30 20:52:25 +02:00
Eric Davis
99507a0391
[ #197 ] Upgrade the copyright in the code files
2011-05-29 13:11:52 -07:00
Eric Davis
e131c3b531
[ #197 ] Remove old copyrights
2011-05-29 12:50:08 -07:00
Eric Davis
a85b6780d2
[ #262 ] Convert line endings to UNIX
2011-05-29 12:00:18 -07:00
Toshi MARUYAMA
7257266d32
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-04-16 16:11:41 -07:00
Toshi MARUYAMA
8a0574ac5d
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-04-16 15:44:44 -07:00
Toshi MARUYAMA
ba9624fcf3
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-04-16 15:38:57 -07:00
Toshi MARUYAMA
997493f6af
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-04-16 15:38:56 -07:00
Toshi MARUYAMA
df5bb0b7c1
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-04-16 15:38:56 -07:00
Toshi MARUYAMA
e17caceb4a
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-04-16 15:38:56 -07:00
Toshi MARUYAMA
cc60e59e70
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-04-16 15:38:56 -07:00
Toshi MARUYAMA
539ca7bde5
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-04-16 15:38:55 -07:00
Toshi MARUYAMA
ee6aa856ba
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-04-16 15:38:54 -07:00
Toshi MARUYAMA
8010bd6351
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-04-16 15:38:54 -07:00
Toshi MARUYAMA
bbaa90c59f
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-04-16 15:38:54 -07:00
Toshi MARUYAMA
fa20af4457
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-04-16 15:38:54 -07:00
Toshi MARUYAMA
d8977e02a5
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-04-16 15:38:54 -07:00
Toshi MARUYAMA
ae5cfa0935
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-04-16 15:36:08 -07:00
Toshi MARUYAMA
ff74490b18
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-04-16 15:36:08 -07:00
Toshi MARUYAMA
8a6a232cd3
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-04-16 15:36:08 -07:00
Toshi MARUYAMA
d2e68968d6
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-04-16 15:35:17 -07:00
Toshi MARUYAMA
891ff89aed
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-04-16 15:35:16 -07:00
Toshi MARUYAMA
d10309e8c6
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-04-16 15:35:16 -07:00
Toshi MARUYAMA
be67b2ec41
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-04-16 15:35:16 -07:00
Toshi MARUYAMA
09e76f2907
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-04-16 15:35:16 -07:00
Toshi MARUYAMA
107f92ab9e
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-04-16 15:35:16 -07:00
Toshi MARUYAMA
efa1d58362
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-04-16 15:35:16 -07:00
Toshi MARUYAMA
f78339713d
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-04-16 15:35:16 -07:00
Toshi MARUYAMA
57133f594f
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-04-16 15:35:15 -07:00
Toshi MARUYAMA
e439ae3c6c
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-04-16 15:35:15 -07:00
Toshi MARUYAMA
01ca8f6b0f
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-04-16 15:35:15 -07:00
Toshi MARUYAMA
0b760212f6
scm: git: code clean up adapter.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-16 15:35:15 -07:00
Toshi MARUYAMA
ea5a78435b
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-04-16 15:34:43 -07:00
Toshi MARUYAMA
043e265e50
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-04-16 15:34:43 -07:00
Toshi MARUYAMA
4987d1b240
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-04-16 15:34:43 -07:00
Toshi MARUYAMA
0b4a6164f0
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-04-16 15:34:43 -07:00
Toshi MARUYAMA
bea085c3ba
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-04-16 15:25:34 -07:00
Toshi MARUYAMA
51d4785bde
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-04-16 15:25:33 -07:00
Toshi MARUYAMA
ac227939ad
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-04-16 15:25:33 -07:00
Toshi MARUYAMA
ce01f49ca7
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-04-16 15:25:08 -07:00
Toshi MARUYAMA
b00caa6e48
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-04-16 15:23:26 -07:00
Toshi MARUYAMA
515e89dd40
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-04-16 15:16:24 -07:00
Toshi MARUYAMA
5774ea453b
scm: git: refactor lastrev() in adapter.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4963 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-16 15:16:24 -07:00
Toshi MARUYAMA
65d0bb9c93
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-04-16 15:16:24 -07:00
Toshi MARUYAMA
c439bd5323
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-04-16 15:07:19 -07:00
Toshi MARUYAMA
07b94a25f6
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-04-16 15:03:52 -07:00
Toshi MARUYAMA
12c5dcbd13
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-04-16 15:03:52 -07:00
Toshi MARUYAMA
5fe46b215b
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-04-16 15:03:52 -07:00