mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 04:00:59 +01:00
15 lines
199 B
Bash
Executable file
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 -
|