[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] net.venge.monotone: 18ff9573e70734eb803a73f002
From: |
code |
Subject: |
[Monotone-commits-diffs] net.venge.monotone: 18ff9573e70734eb803a73f002f9d4f0053ef55a |
Date: |
Fri, 4 Feb 2011 15:49:11 GMT |
revision: 18ff9573e70734eb803a73f002f9d4f0053ef55a
date: 2011-02-04T15:48:23
author: Richard Levitte <address@hidden>
branch: net.venge.monotone
changelog:
* cmd_automate.cc (commands::automate::exec): set the locale to
"POSIX", so all automate commands have the same output regardless of
the locale of the calling process. That should simplify for scripts that
rely on the output.
* NEWS: Add a note about this change.
manifest:
format_version "1"
new_manifest [eb0c384c7c7e2bbaaa8521ffeb6fa3231d0420ff]
old_revision [5fab338551e841d90dd1337885111969be685406]
patch "NEWS"
from [f2b75bc2063d722a398e9d73f6e179d25b90e6ff]
to [495d63586740f1276bac0419bc0e9880b9e4f090]
patch "cmd_automate.cc"
from [0521168f8efc2eecbeb4c84795ebaf4c0f8d7351]
to [2c5e25aeca1c3286a7f77a36f4a6a6581166177e]
============================================================
--- NEWS f2b75bc2063d722a398e9d73f6e179d25b90e6ff
+++ NEWS 495d63586740f1276bac0419bc0e9880b9e4f090
@@ -24,6 +24,11 @@ XXX XXX XX XX:XX:XX UTC 2010
- monotone now also tracks the workspaces of databases which
do not reside in a "managed" location.
+ - automate now resets the locale to "POSIX" internally. This
+ means that all scripts can expect the same untranslated
+ messages from mtn automate, regardless of the locale of the
+ calling process.
+
New Features
- 'mtn conflicts store' now outputs a count of the conflicts,
============================================================
--- cmd_automate.cc 0521168f8efc2eecbeb4c84795ebaf4c0f8d7351
+++ cmd_automate.cc 2c5e25aeca1c3286a7f77a36f4a6a6581166177e
@@ -66,6 +66,7 @@ namespace commands {
std::ostream & output) const
{
make_io_binary();
+ setlocale(LC_ALL,"POSIX");
exec_from_automate(app, execid, args, output);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] net.venge.monotone: 18ff9573e70734eb803a73f002f9d4f0053ef55a,
code <=