test-notify.t breakage on MacOSX because of overlong tempfile names

Christian Ebert blacktrash at gmx.net
Fri Oct 1 15:48:57 CDT 2010


Hi,

atm, on MacOSX -- 10.5.8 to be precise -- test-notify.t fails
like so:

$ ./run-tests.py test-notify.t

ERROR: /Users/chris/hgworkspace/hg-crew-pubmq/tests/test-notify.t output changed
--- /Users/chris/hgworkspace/hg-crew-pubmq/tests/test-notify.t
+++ /Users/chris/hgworkspace/hg-crew-pubmq/tests/test-notify.t.err
@@ -120,14 +120,16 @@
   MIME-Version: 1.0
   Content-Transfer-Encoding: 7bit
   Date: * (glob)
-  Subject: changeset in */b: b (glob)
+  Subject: changeset in
+   /private/var/folders/Uv/Uv1fv0Yz2RaBNU+BYnlOsU+++TM/-Tmp-/hgtests.l3cqwC/test-notify.t/b:
+   b

etc.

i.e. the path to the temporary repo is so long that the header
line(s) are broken. Any ideas how to solve this without piping
through, errmh, sed?

c
-- 
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions


More information about the Mercurial-devel mailing list