bin/homedir-push

Tue, 19 Sep 2023 17:12:00 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 19 Sep 2023 17:12:00 -0500
changeset 1129
1bd6edeaf6ae
parent 261
6254589972e6
permissions
-rwxr-xr-x

fix error when unnamed buffers can't be written

#!/bin/sh
set -eu

TARGET=$1

hg archive -t tgz -p . - | ssh $TARGET tar xz --keep-newer-files

mercurial