bin/homedir-push

Thu, 06 Apr 2017 00:03:50 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 06 Apr 2017 00:03:50 -0400
changeset 540
c51f6fc7c727
parent 261
6254589972e6
permissions
-rwxr-xr-x

add rollback, more hg riffs!

#!/bin/sh
set -eu

TARGET=$1

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

mercurial