Use Regexp#match instead of #match for 1.9 BASERUBY support
This commit is contained in:
parent
d2ba80b5df
commit
f0ded36693
@ -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('^..')
|
||||
|
Loading…
x
Reference in New Issue
Block a user