зеркало из https://github.com/github/ruby.git
* tool/change_maker.rb: Update svn detection for subversion 1.7's
single .svn directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
c278c84692
Коммит
32d416db0d
|
@ -1,3 +1,8 @@
|
|||
Sun Sep 16 17:47:00 2012 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* tool/change_maker.rb: Update svn detection for subversion 1.7's
|
||||
single .svn directory.
|
||||
|
||||
Sun Sep 16 11:39:12 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* io.c (io_set_read_length): if the read length equals to the buffer
|
||||
|
|
|
@ -18,7 +18,7 @@ def diff2index(cmd, *argv)
|
|||
lines.empty? ? nil : lines
|
||||
end
|
||||
|
||||
if File.directory?(".svn")
|
||||
if `svnversion` =~ /^\d+/
|
||||
cmd = "svn diff --diff-cmd=diff -x-pU0"
|
||||
change = diff2index(cmd, ARGV)
|
||||
elsif File.directory?(".git")
|
||||
|
|
Загрузка…
Ссылка в новой задаче