aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tool/vcs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index 808b28344e..f7a1a6470d 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -507,7 +507,7 @@ class VCS
end
rev unless rev.empty?
end
- unless /./.match?(from ||= branch_beginning(url))
+ unless /./.match(from ||= branch_beginning(url))
raise "cannot find the beginning revision of the branch"
end
range = [from, (to || 'HEAD')].join('^..')