summaryrefslogtreecommitdiffstats
path: root/build/bin
diff options
context:
space:
mode:
authorMarko Grönroos <magi@iki.fi>2009-04-07 13:02:47 +0000
committerMarko Grönroos <magi@iki.fi>2009-04-07 13:02:47 +0000
commit07203b799722834cf51ac667add85d495225ceba (patch)
treeed41195d285cf4b2d24456317440c99991bfd947 /build/bin
parent5e4b93244dfa30003ee75f7125b068b5a7901283 (diff)
downloadvaadin-framework-07203b799722834cf51ac667add85d495225ceba.tar.gz
vaadin-framework-07203b799722834cf51ac667add85d495225ceba.zip
Fixed a subversion 1.5 compatibility problem in merge tool.
svn changeset:7350/svn branch:6.0
Diffstat (limited to 'build/bin')
-rwxr-xr-xbuild/bin/mergetool.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/build/bin/mergetool.py b/build/bin/mergetool.py
index ef13448760..91d9d5105c 100755
--- a/build/bin/mergetool.py
+++ b/build/bin/mergetool.py
@@ -79,14 +79,12 @@ def listChangedFiles():
changed = []
for line in lines:
# Remove trailing newline
- line = line[:-1]
-
- # Remove possible space character in the beginning of line
- line = line.lstrip()
-
- # Extract the file state and name
+ line = line.rstrip()
print line
- (filestate, filename) = re.split(r'[ \+]+', line)
+
+ # Extract the file state and name
+ filestate = line[0:2].strip()
+ filename = line[7:].strip()
# Ignore files in build directory
if (filename.startswith("build/merge/") \
@@ -545,7 +543,8 @@ def commandRevert():
line = line[:-1]
# Extract the file state and name
- (filestate, filename) = re.split(r'[ \+]+', line)
+ filestate = line[0:2].strip()
+ filename = line[7:].strip()
# Ignore files in build directory
if (filename.startswith("build/merge/") \