view tests/fake-editor.sh @ 4044:c0fbe70f2e48

topic: check that repo.currenttopic is set before using it as an argument repo.currenttopic can be an empty string, which means there's no current topic set. This fact can be used to short-circuit some checks. Also, this avoids passing an empty string as an argument to topic() revset.
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 28 Aug 2018 21:28:41 +0800
parents 970a4c13ebc3
children
line wrap: on
line source

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