You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by js...@apache.org on 2006/06/12 13:10:45 UTC

svn commit: r413636 - /incubator/servicemix/scripts/servicemix-backport.sh

Author: jstrachan
Date: Mon Jun 12 04:10:45 2006
New Revision: 413636

URL: http://svn.apache.org/viewvc?rev=413636&view=rev
Log:
Added a little script to backport a bug fix from the trunk into a branch

Added:
    incubator/servicemix/scripts/servicemix-backport.sh   (with props)

Added: incubator/servicemix/scripts/servicemix-backport.sh
URL: http://svn.apache.org/viewvc/incubator/servicemix/scripts/servicemix-backport.sh?rev=413636&view=auto
==============================================================================
--- incubator/servicemix/scripts/servicemix-backport.sh (added)
+++ incubator/servicemix/scripts/servicemix-backport.sh Mon Jun 12 04:10:45 2006
@@ -0,0 +1,16 @@
+#!/bin/bash
+REPO=https://svn.apache.org/repos/asf/incubator/servicemix/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/servicemix/scripts/servicemix-backport.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/scripts/servicemix-backport.sh
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/servicemix/scripts/servicemix-backport.sh
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL