Author: jstrachan
Date: Mon Jun 12 04:00:53 2006
New Revision: 413632
URL: http://svn.apache.org/viewvc?rev=413632&view=rev
Log:
added a simple script for backporting patches to older branches from trunk
Added:
incubator/activemq/scripts/activemq-backport.sh (with props)
Added: incubator/activemq/scripts/activemq-backport.sh
URL:
http://svn.apache.org/viewvc/incubator/activemq/scripts/activemq-backport.sh?rev=413632&view=auto
==============================================================================
--- incubator/activemq/scripts/activemq-backport.sh (added)
+++ incubator/activemq/scripts/activemq-backport.sh Mon Jun 12 04:00:53 2006
@@ -0,0 +1,16 @@
+#!/bin/bash
+REPO=https://svn.apache.org/repos/asf/incubator/activemq/trunk/
+if [ -z "$1" ]; then
+ echo usage: $0 revision
+ echo This command will backport a SVN patch from the repo $REPO
+ echo to the branch in the current working directory.
+ exit
+fi
+VERSION=$1
+PREVIOUS=$[$VERSION-1]
+
+echo "Merging patch range $PREVIOUS:$VERSION to repo $REPO"
+
+svn merge -r $PREVIOUS:$VERSION $REPO
+
+
\ No newline at end of file
Propchange: incubator/activemq/scripts/activemq-backport.sh
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/activemq/scripts/activemq-backport.sh
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/activemq/scripts/activemq-backport.sh
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL