1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 20:20:58 +01:00
nix/scripts/nix-restorerevision.sh.in
2007-07-09 00:28:38 +00:00

13 lines
191 B
Bash
Executable file

#! /bin/sh -e
svnbin=$1
torevision=$2
repos=$3
statepath=$4
if [ "$#" != 4 ] ; then
echo "Incorrect number of arguments"
exit 1;
fi
$svnbin merge -r HEAD:$torevision $repos $statepath