I've got a crash when place "info-insert buffer vcs-date" into CVS controlled file. The attached patch helps, but I'm not sure if there's some more elegant solution. Any opinions?
Stephan
Index: src/insets/InsetInfo.cpp =================================================================== --- src/insets/InsetInfo.cpp (Revision 35929) +++ src/insets/InsetInfo.cpp (Arbeitskopie) @@ -437,9 +437,12 @@ else if (name_ == "vcs-date") itype = LyXVC::Date; string binfo = buffer().lyxvc().revisionInfo(itype); - if (binfo.empty()) - setText(bformat(_("[[%1$s unknown]]"), from_utf8(name_))); - else + if (binfo.empty()) { + docstring fmt = _("[[%1$s unknown]]"); + if (fmt.empty()) + fmt = from_ascii("[[%1$s unknown]]"); + setText(bformat(fmt, from_utf8(name_))); + } else setText(from_utf8(binfo)); break; }