diff options
Diffstat (limited to 'tool')
-rw-r--r-- | tool/vcs.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb index 552abd0fd2..a5928a415e 100644 --- a/tool/vcs.rb +++ b/tool/vcs.rb @@ -139,6 +139,8 @@ class VCS STDERR.reopen NullDevice, 'w' end self.class.get_revisions(path, @srcdir) + rescue Errno::ENOENT => e + raise VCS::NotFoundError, e.message ensure if save_stderr STDERR.reopen save_stderr |