Previous: Additional Lua Functions, Up: Lua Reference [Contents][Index]
This section documents disabled and overwritten functions from the standard Lua libraries.
Both functions are overwritten to print to standard error (instead of standard output), formatted as monotone progress message with the prefix "lua:" in front of every line.
The rationale behind this is to catch most of the informational messages from hooks which use these functions and present them via monotone’s user interface. This allows them to be logged just as other progress messages, and prevents unexpected out-of-band output in the Automation interface.
If you explicitly need to write to either stdout or stderr, please use
Both functions have been disabled for security reasons. You should use
The original versions do not apply any kind of shell character escaping, which might lead to serious problems f.e. when a merger is automatically invoked by such a function.