mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 04:00:59 +01:00
States can now be (recursively) rolled back and forward :)
This commit is contained in:
parent
9f00b42f38
commit
afb445957d
4 changed files with 25 additions and 18 deletions
|
|
@ -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 -
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue