# HG changeset patch # User Boris Feld # Date 1549671872 -3600 # Node ID 2306158314e915cc52cfd3af5b9755575d006ff4 # Parent 9a8d41fa919edfae7e10c318eab7d0a3ac33f8ee test: use `printenv.py --line` in `test-static-http.t` This makes the output easier to update and read. diff -r 9a8d41fa919e -r 2306158314e9 tests/test-static-http.t --- a/tests/test-static-http.t Sat Feb 09 01:24:19 2019 +0100 +++ b/tests/test-static-http.t Sat Feb 09 01:24:32 2019 +0100 @@ -57,7 +57,7 @@ $ cd ../local $ cat >> .hg/hgrc < [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 @@ 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