diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp index a1e0ec2738..8f23927e89 100644 --- a/src/VCBackend.cpp +++ b/src/VCBackend.cpp @@ -58,11 +58,15 @@ int VCS::doVCCommand(string const & cmd, FileName const & path, bool reportError if (owner_) owner_->setBusy(false); - if (ret && reportError) + if (ret && reportError) { + docstring rcsmsg; + if (prefixIs(cmd, "ci ")) + rcsmsg = "\n" + _("Perhaps the RCS package is not installed on your system?"); frontend::Alert::error(_("Revision control error."), bformat(_("Some problem occurred while running the command:\n" - "'%1$s'."), + "'%1$s'.") + rcsmsg, from_utf8(cmd))); + } return ret; }