bin/homedir-push

Sat, 10 Jun 2017 19:48:39 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 10 Jun 2017 19:48:39 -0400
changeset 600
0e927f9c141a
parent 261
6254589972e6
permissions
-rwxr-xr-x

Sadly, this is hg >= 4.2 only

#!/bin/sh
set -eu

TARGET=$1

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

mercurial