bin/homedir-push

Wed, 18 May 2016 00:42:39 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 18 May 2016 00:42:39 -0400
changeset 307
b78751068fd3
parent 261
6254589972e6
permissions
-rwxr-xr-x

make more like hg fetch

#!/bin/sh
set -eu

TARGET=$1

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

mercurial