summaryrefslogtreecommitdiff
path: root/tool/change_maker.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-16 08:47:53 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-16 08:47:53 +0000
commit32d416db0db4e445d8156885aae9c6b26ce56c56 (patch)
tree75b2753f261fe76418c2fe963f59aa424bbd651a /tool/change_maker.rb
parentc278c84692c17f3d83fa3acfe39f2a2564dced0d (diff)
* 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
Diffstat (limited to 'tool/change_maker.rb')
-rwxr-xr-xtool/change_maker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/change_maker.rb b/tool/change_maker.rb
index a4e4405..0ca195f 100755
--- a/tool/change_maker.rb
+++ b/tool/change_maker.rb
@@ -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")