Monotone: Empty "commit" and "diff" should return english text message

============================================================
--- tailor-0.9.28/vcpx/repository/monotone.py
+++ tailor-0.9.28/vcpx/repository/monotone.py
@@ -429,7 +429,7 @@
                                       "--revision", chset.revision)

         mtl = ExternalCommand(cwd=self.working_dir, command=cmd)
-        outstr = mtl.execute(stdout=PIPE, stderr=PIPE)
+        outstr = mtl.execute(stdout=PIPE, stderr=PIPE, LANG='POSIX')
         if mtl.exit_status:
             raise GetUpstreamChangesetsFailure(
                 "mtn diff returned status %d" % mtl.exit_status)
@@ -842,7 +868,7 @@ class MonotoneWorkingDir(UpdatableSource
         if not entries:
             entries = ['.']

-        output, error = commit.execute(entries, stdout=PIPE, stderr=PIPE)
+ output, error = commit.execute(entries, stdout=PIPE, stderr=PIPE, LANG='POSIX')

# monotone complaints if there are no changes from the last commit.
         # we ignore those errors ...
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to