bin/homedir-push

Fri, 03 Feb 2017 15:50:12 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 03 Feb 2017 15:50:12 -0500
changeset 498
238a0de521e6
parent 261
6254589972e6
permissions
-rwxr-xr-x

Don't mess with the cursor on commit or rebase stuff either.

#!/bin/sh
set -eu

TARGET=$1

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

mercurial