Skip to content

Commit 51779e9

Browse files
committed
Tweaked the mergedevbranch script.
- Legacy-Id: 11442
1 parent 0f0686c commit 51779e9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

bin/mergedevbranch

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ cwd=${PWD##*/}
113113
branch=$1
114114
rev=$2
115115
fix=$3
116+
117+
# remove leading 'r' from rev, if present
118+
rev=${rev#r}
119+
116120
repo=$(echo -n "$(svn info | grep "^Repository Root: " | sed 's/Repository Root: //')")
117121

118122
note "Identify the branch:"
@@ -128,6 +132,9 @@ else
128132
die "Could not find a branch matching '$branch'"
129133
fi
130134

135+
note "Svn update, to make sure we don't have a mixed revision working copy"
136+
svn update -q
137+
131138
mergelog=$(mktemp)
132139
svn propget svn:mergeinfo . > $mergelog
133140

0 commit comments

Comments
 (0)