43:d9569e15bcc3
Anton Shestakov <av6@dwimlabs.net>, Mon, 28 Sep 2015 00:03:36 +0800
viewer: compute a weak entity tag from db and repo mtime This saves running a subprocess with hg -Tjson and rendering pages when there weren't any updates to the testhg repo or to the database. Maybe ETag is not the perfect place for this (Last-Modified?), but it works.

next change 85:a0a14d45c340
previous change 34:428b6494315c

deploy.sh

Permissions: -rwxr-xr-x

Other formats: Feeds:
#!/bin/sh
set -x
mkdir -p ./data
HGURL='https://selenic.com/hg'
TESTURL='https://selenic.com/hg'
HGPLAIN=1
export HGPLAIN
hg clone "$HGURL" ./data/testhg
hg archive -R ./data/testhg -r tip ./data/newesthg
make --directory ./data/newesthg local
hg clone "$TESTURL" -r 3.3.3 ./data/testrepo