bin/homedir-push

Thu, 26 Jan 2017 21:33:26 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 26 Jan 2017 21:33:26 -0500
changeset 489
ba71ed414be4
parent 261
6254589972e6
permissions
-rwxr-xr-x

no autostash

#!/bin/sh
set -eu

TARGET=$1

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

mercurial