diff tests/test-push-http.t @ 13427:2432b3227303 stable

merge default into stable for 1.8 code freeze
author Matt Mackall <mpm@selenic.com>
date Wed, 16 Feb 2011 14:13:22 -0600
parents 682edefe7dbb
children 1e497df514e2
line wrap: on
line diff
--- a/tests/test-push-http.t	Sat Feb 12 16:08:41 2011 +0800
+++ b/tests/test-push-http.t	Wed Feb 16 14:13:22 2011 -0600
@@ -1,5 +1,4 @@
 
-  $ cp "$TESTDIR"/printenv.py .
   $ hg init test
   $ cd test
   $ echo a > a
@@ -53,7 +52,7 @@
 
   $ echo 'allow_push = *' >> .hg/hgrc
   $ echo '[hooks]' >> .hg/hgrc
-  $ echo 'changegroup = python ../printenv.py changegroup 0' >> .hg/hgrc
+  $ echo 'changegroup = python "$TESTDIR"/printenv.py changegroup 0' >> .hg/hgrc
   $ req
   pushing to http://localhost:$HGPORT/
   searching for changes
@@ -61,7 +60,7 @@
   remote: adding manifests
   remote: adding file changes
   remote: added 1 changesets with 1 changes to 1 files
-  remote: changegroup hook: HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_URL=remote:http 
+  remote: changegroup hook: HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_URL=remote:http:*:  (glob)
   % serve errors
   $ hg rollback
   rolling back to revision 0 (undo serve)