[PATCH 09 of 10] test: use `printenv.py --line` in `test-static-http.t`
Boris Feld
boris.feld at octobus.net
Sat Feb 9 17:03:26 EST 2019
# HG changeset patch
# User Boris Feld <boris.feld at octobus.net>
# Date 1549671872 -3600
# Sat Feb 09 01:24:32 2019 +0100
# Node ID 62d13ee8373ad4a7c97192680a4781fe5818a1df
# Parent a625670bc72dc8ad2b950d77fb5a72e004b911c7
# EXP-Topic hook.txname
# Available At https://bitbucket.org/octobus/mercurial-devel/
# hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 62d13ee8373a
test: use `printenv.py --line` in `test-static-http.t`
This makes the output easier to update and read.
diff --git a/tests/test-static-http.t b/tests/test-static-http.t
--- a/tests/test-static-http.t
+++ b/tests/test-static-http.t
@@ -57,7 +57,7 @@ check for HTTP opener failures when cach
$ cd ../local
$ cat >> .hg/hgrc <<EOF
> [hooks]
- > changegroup = sh -c "printenv.py changegroup"
+ > changegroup = sh -c "printenv.py --line changegroup"
> EOF
$ hg pull
pulling from static-http://localhost:$HGPORT/remote
@@ -67,7 +67,14 @@ check for HTTP opener failures when cach
adding file changes
added 1 changesets with 1 changes to 1 files
new changesets 4ac2e3648604
- changegroup hook: HG_HOOKNAME=changegroup HG_HOOKTYPE=changegroup HG_NODE=4ac2e3648604439c580c69b09ec9d93a88d93432 HG_NODE_LAST=4ac2e3648604439c580c69b09ec9d93a88d93432 HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=http://localhost:$HGPORT/remote
+ changegroup hook: HG_HOOKNAME=changegroup
+ HG_HOOKTYPE=changegroup
+ HG_NODE=4ac2e3648604439c580c69b09ec9d93a88d93432
+ HG_NODE_LAST=4ac2e3648604439c580c69b09ec9d93a88d93432
+ HG_SOURCE=pull
+ HG_TXNID=TXN:$ID$
+ HG_URL=http://localhost:$HGPORT/remote
+
(run 'hg update' to get a working copy)
trying to push
More information about the Mercurial-devel
mailing list