view tests/fake-editor.sh @ 3647:626c5fa0ef07

safeguard: use self instead of repo in noautopublishrepo.checkpush() Referring to repo here was somehow preventing it from being garbage-collected (important in hgweb, where currently every request gets a new repo).
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 06 Apr 2018 14:37:22 +0800
parents 970a4c13ebc3
children
line wrap: on
line source

#!/bin/sh
sleep 5
echo "new desc" >> $1