/[linux-patches]/genpatches-2.6-misc/scripts/gpcreatebranch
Gentoo

Contents of /genpatches-2.6-misc/scripts/gpcreatebranch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 282 - (show annotations) (download)
Sun Jan 22 14:20:05 2006 UTC (14 years, 9 months ago) by phreak
File size: 558 byte(s)
Fixing gpcreatebranch; Replacing 'exit' with 'fi' (since it's an if-conditional)
1 #!/bin/bash
2
3 . ~/.genpatchesrc
4
5 if [[ ${#@} != 2 ]] ; then
6 echo ">>> USAGE: gpcreatebranch <old-minor> <new-minor>"
7 echo "This will create 2.6.<new-minor> from 2.6.<old-minor>"
8 exit -1
9 fi
10
11 echo ">>> Going to copy genpatches-2.6/trunk/2.6.$1 to genpatches-2.6/trunk/2.6.$2 and instant commit. Press enter to continue"
12 read
13
14 svn copy svn+ssh://${USERNAME}@svn.gentoo.org/var/svnroot/linux-patches/genpatches-2.6/trunk/2.6.$1 svn+ssh://${USERNAME}@svn.gentoo.org/var/svnroot/linux-patches/genpatches-2.6/trunk/2.6.$2 -m "Creating 2.6.$2 branch from 2.6.$1"

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.20