summaryrefslogtreecommitdiff
path: root/git2svn-sync
blob: b63d46887548e1af74d065679c6e7dc89a5ff698 (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
28
29
30
31
32
33
#!/bin/sh
#
# Sync git repository to subversion repository.
# 
# Based on http://google-opensource.blogspot.com/2008/05/export-git-project-to-google-code.html

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

GIT_REPO=$1
GIT_SVN_REPO_CHECKOUT=$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 fetch $GIT_REPO
git branch tmp $(cut -b-40 .git/FETCH_HEAD)
git tag -a -m "Last fetch" newlast tmp
git rebase --onto master last tmp
git branch -M tmp master
git svn dcommit
mv $GIT_SVN_REPO_CHECKOUT/.git/refs/tags/newlast \
	$GIT_SVN_REPO_CHECKOUT/.git/refs/tags/last

cd $p

# vim:ft=sh
ect>
Diffstat (limited to 'drivers/gpu/drm/amd/include/cgs_common.h')
-rw-r--r--[-rwxr-xr-x]drivers/gpu/drm/amd/include/cgs_common.h0
1 files changed, 0 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/cgs_common.h b/drivers/gpu/drm/amd/include/cgs_common.hof organizational work, including the renaming of various files discussed at the kernel summit. - New documentation for the device_link mechanism. ... and, of course, lots of typo fixes and small updates" * tag 'docs-4.10' of git://git.lwn.net/linux: (193 commits) dma-buf: Extract dma-buf.rst Update Documentation/00-INDEX docs: 00-INDEX: document directories/files with no docs docs: 00-INDEX: remove non-existing entries docs: 00-INDEX: add missing entries for documentation files/dirs docs: 00-INDEX: consolidate process/ and admin-guide/ description scripts: add a script to check if Documentation/00-INDEX is sane Docs: change sh -> awk in REPORTING-BUGS Documentation/core-api/device_link: Add initial documentation core-api: remove an unexpected unident ppc/idle: Add documentation for powersave=off Doc: Correct typo, "Introdution" => "Introduction" Documentation/atomic_ops.txt: convert to ReST markup Documentation/local_ops.txt: convert to ReST markup Documentation/assoc_array.txt: convert to ReST markup docs-rst: parse-headers.pl: cleanup the documentation docs-rst: fix media cleandocs target docs-rst: media/Makefile: reorganize the rules docs-rst: media: build SVG from graphviz files docs-rst: replace bayer.png by a SVG image ...
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check_00index.sh66
-rwxr-xr-xscripts/checkpatch.pl6
-rwxr-xr-xscripts/kernel-doc20
3 files changed, 86 insertions, 6 deletions
diff --git a/scripts/check_00index.sh b/scripts/check_00index.sh
new file mode 100755