1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 04:00:59 +01:00
nix/scripts/nix-restorerevision.sh
2007-07-08 22:59:44 +00:00

15 lines
199 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
cd $statepath
$svnbin merge -r HEAD:$torevision $repos
cd -