summaryrefslogtreecommitdiff
path: root/svn2git-sync
blob: ad0adf14376c426cce550c3542e0aea527802517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
#
# Sync git-svn repo to git repository.
#
# To be called in crontab.

if [ $# -lt 2 ] ; then
	echo "usage: ${0} GIT_SVN_REPO_CHECKOUT GIT_REPO"
	exit 2
fi

GIT_SVN_REPO_CHECKOUT=$1
GIT_REPO=$2

if [ ! -d $GIT_SVN_REPO_CHECKOUT/.git/svn ] ; then
	echo "error: no git-svn checkout found in $GIT_SVN_REPO_CHECKOUT"
	exit 3
fi

p=$(pwd)
cd $GIT_SVN_REPO_CHECKOUT
git svn rebase
git push --all $GIT_REPO

cd $p

# vim:ft=sh
ntation: arm: improve Armada 37xx descriptionThomas Petazzoni1-5/+4 2016-02-19Documentation: arm: update Marvell product listingArnd Bergmann1-27/+105 2016-02-17Documentation: arm: update supported Marvell EBU processorsGregory CLEMENT1-0/+13 2015-12-10Documentation: arm: remove dead links from Marvell Berlin docsTom Hebb1-3/+0 2015-11-20Documentation: arm: remove hyphen from BG2Q in Marvell Berlin docsTom Hebb1-1/+1 2015-11-20Documentation: arm: add Marvell Armada 1500 Mini Plus to SoC listTom Hebb1-1/+5 2015-11-20Documentation: arm: update homepage URLs for Marvell Berlin SoCsTom Hebb1-7/+7 2015-03-04Documentation: arm: update supported Marvell EBU processorsThomas Petazzoni1-0/+5 2014-09-17Documentation: arm: add hardware datasheet reference for Marvell Armada XPThomas Petazzoni1-0/+4 2014-07-25Documentation: arm: misc updates to Marvell EBU SoC statusThomas Petazzoni1-7/+9 2014-07-25Documentation: arm: add URLs to public datasheets for the Marvell Armada XP SoCThomas Petazzoni1-2/+1 2014-06-21Documentation: arm: add URLs to public datasheets for the Marvell Armada 370 SoCThomas Petazzoni1-1/+3 2014-05-19ARM: berlin: add Marvell Armada 1500 pro to Marvell docAntoine Tenart1-0/+5 2014-02-22Documentation: arm: update Marvell documentation about Armada 375/38xThomas Petazzoni1-1/+11 2013-12-13ARM: add Marvell Berlin SoC familiy to Marvell docSebastian Hesselbarth1-0/+24 2013-10-08Documentation: arm/Marvell: clarify Armada SoCs that match 78xx0 patternKevin Hilman1-0/+1 2012-08-11arm: add documentation describing Marvell families of SoCThomas Petazzoni1-0/+232