[PATCH 1 of 2] Fix for compatibilty with true Bourne /bin/sh

David Champion dgc at uchicago.edu
Sun Jul 5 14:03:26 CDT 2009


# HG changeset patch
# User David Champion <dgc at uchicago.edu>
# Date 1246820317 18000
# Node ID 476132e8b90b9feed47c3338c10bba72f17ac56b
# Parent  b81baf9e4dd6fe5e475fb431977e838761632ef2
Fix for compatibilty with true Bourne /bin/sh.

'export foo=bar' is an extension, replaced with 'foo=bar; export foo'

diff -r b81baf9e4dd6 -r 476132e8b90b tests/test-convert-cvs-branch
--- a/tests/test-convert-cvs-branch	Wed Jul 01 16:47:46 2009 -0500
+++ b/tests/test-convert-cvs-branch	Sun Jul 05 13:58:37 2009 -0500
@@ -83,7 +83,8 @@
 
 cvscall -Q -d `pwd`/cvsmaster2 init >/dev/null 2>&1
 cd cvsmaster2
-export CVSROOT=`pwd`
+CVSROOT=`pwd`
+export CVSROOT
 mkdir foo
 cd ..
 cvscall -Q co -d cvswork2 foo


More information about the Mercurial-devel mailing list