aboutsummaryrefslogtreecommitdiffstats
path: root/tool/file2lastrev.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/file2lastrev.rb')
-rwxr-xr-xtool/file2lastrev.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb
index ee615a5060..8d68da9f88 100755
--- a/tool/file2lastrev.rb
+++ b/tool/file2lastrev.rb
@@ -89,7 +89,8 @@ else
begin
puts @output[*vcs.get_revisions(arg)]
rescue => e
- warn "#{File.basename(Program)}: #{e.message}" unless @suppress_not_found
+ next if @suppress_not_found and VCS::NotFoundError === e
+ warn "#{File.basename(Program)}: #{e.message}"
ok = false
end
end