tests/fake-editor.sh
author Yuya Nishihara <yuya@tcha.org>
Thu, 20 Apr 2017 00:21:13 +0900
branchstable
changeset 2273 228111491788
parent 1742 970a4c13ebc3
permissions -rwxr-xr-x
legacy: fix debugrecordpruneparents to call obsstore.create() with keywords It appears the API was changed twice in Mercurial at - 570f87422f54 "obsstore: add an explicit `date` argument to obsstore.create" - adb3798dce49 "obsstore: add a `parents` argument to obsstore.create" and metadata would be changed to a list of (key, value) pairs. Convert it back to a dict as expected by create().

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