bin/homedir-push

Tue, 21 Jun 2016 15:14:34 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 21 Jun 2016 15:14:34 -0400
changeset 338
296f4b036ae3
parent 261
6254589972e6
permissions
-rwxr-xr-x

move git-bre into a real command with better filename safety

#!/bin/sh
set -eu

TARGET=$1

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

mercurial