This remove the LANG=POSIX, because "mtn automate certs" works now also with home locale. After removing LANG from automate certs, must also remove from commit.

automate certs gets ChangeLog, and Commit adds the ChangeLog. Differ LANG's make troubble, and can't overwrite by users. Initialy was needed only for the "list cerst" or the older "log". So, it's time to remove this hack.

Patchname: monotone-remove-lang-posix-from-call.patch
(Apply this patch ONLY after monotone-list-to-automate-certs.patch)

--
Henry
# This remove the LANG=POSIX, because "mtn automate certs" works now also
# with home locale. After removing LANG from automate certs, must also
# remove from commit.
# 
# automate certs gets ChangeLog, and Commit adds the ChangeLog. Differ
# LANG's make troubble, and can't overwrite by users. Initialy was needed
# only for the "list cerst" or the older "log". So, it's time to remove
# this hack.
# 
# (Apply this patch ONLY after monotone-list-to-automate-certs.patch)
# 
# 2007-06-11 Henry (at) Bigfoot.de

Index: tailor-snapshot-modify/vcpx/repository/monotone.py
===================================================================
--- tailor-snapshot-modify.orig/vcpx/repository/monotone.py
+++ tailor-snapshot-modify/vcpx/repository/monotone.py
@@ -240,7 +240,7 @@
         cmd = self.repository.command("automate", "certs", revision,
                                       "--db", self.repository.repository)
         mtl = ExternalCommand(cwd=self.working_dir, command=cmd)
-        outstr = mtl.execute(stdout=PIPE, stderr=PIPE, LANG='POSIX')
+        outstr = mtl.execute(stdout=PIPE, stderr=PIPE)
         if mtl.exit_status:
             raise GetUpstreamChangesetsFailure("mtn automate certs returned "
                                                "status %d" % mtl.exit_status)
@@ -932,7 +932,7 @@
         if not entries:
             entries = ['.']
 
-        output, error = commit.execute(entries, stdout=PIPE, stderr=PIPE, LANG='POSIX')
+        output, error = commit.execute(entries, stdout=PIPE, stderr=PIPE)
 
         # 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