From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo commit in src/patchsets/texlive/2011/upstream: get_upstream_patches.sh |
Date: | Wed, 02 Nov 2011 19:29:56 |
Message-Id: | 20111102192946.DD0D52004B@flycatcher.gentoo.org |
1 | aballier 11/11/02 19:29:46 |
2 | |
3 | Added: get_upstream_patches.sh |
4 | Log: |
5 | add a script to fetch upstream fixes for the 2011 branch |
6 | |
7 | Revision Changes Path |
8 | 1.1 src/patchsets/texlive/2011/upstream/get_upstream_patches.sh |
9 | |
10 | file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/get_upstream_patches.sh?rev=1.1&view=markup |
11 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/get_upstream_patches.sh?rev=1.1&content-type=text/plain |
12 | |
13 | Index: get_upstream_patches.sh |
14 | =================================================================== |
15 | #!/bin/sh |
16 | LC_ALL=C |
17 | |
18 | INITIAL_REV=23183 |
19 | SVNURI=svn://tug.org/texlive/branches/branch2011/ |
20 | TARGET_REV=`svn info $SVNURI | grep -i "^Revision" | cut -d" " -f2-` |
21 | |
22 | REV_LIST=`svn log -r ${INITIAL_REV}:${TARGET_REV} $SVNURI | grep ^r | cut -d" " -f1 | tr -d 'r' | tr '$' ' '` |
23 | for i in $REV_LIST ; do |
24 | TARGET=rev$i.patch |
25 | svn log -r$i $SVNURI > $TARGET |
26 | svn diff -r$((i-1)):$i $SVNURI >> $TARGET |
27 | done |