diff options
Diffstat (limited to 'tool')
-rw-r--r-- | tool/vcs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb index bd8e7e1083..f4a10c81f1 100644 --- a/tool/vcs.rb +++ b/tool/vcs.rb @@ -490,7 +490,7 @@ class VCS end rev unless rev.empty? end - unless (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('^..') |