1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 20:20:58 +01:00

States can now be (recursively) rolled back and forward :)

This commit is contained in:
Wouter den Breejen 2007-07-08 22:59:44 +00:00
parent 9f00b42f38
commit afb445957d
4 changed files with 25 additions and 18 deletions

View file

@ -3,11 +3,13 @@
svnbin=$1
torevision=$2
repos=$3
statepath=$4
if [ "$#" != 3 ] ; then
if [ "$#" != 4 ] ; then
echo "Incorrect number of arguments"
exit 1;
fi
$svnbin merge -r HEAD:$2 $3
cd $statepath
$svnbin merge -r HEAD:$torevision $repos
cd -