summaryrefslogtreecommitdiffstats
path: root/build/bin
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-04-20 05:52:38 +0000
committerArtur Signell <artur.signell@itmill.com>2009-04-20 05:52:38 +0000
commitc2a6543cbf31109a73166908cef09cc607d2a403 (patch)
treed1b93a3e0327cb3bbfd4310f1dc58ca4276ad496 /build/bin
parent2bd4106c653cf87e63532977d43c787288cf4918 (diff)
downloadvaadin-framework-c2a6543cbf31109a73166908cef09cc607d2a403.tar.gz
vaadin-framework-c2a6543cbf31109a73166908cef09cc607d2a403.zip
Merged all 5.4 build script and testing tools related changes to 6.0
svn changeset:7462/svn branch:6.0
Diffstat (limited to 'build/bin')
-rwxr-xr-xbuild/bin/mergetool.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/build/bin/mergetool.py b/build/bin/mergetool.py
index 91d9d5105c..7ed1cb1579 100755
--- a/build/bin/mergetool.py
+++ b/build/bin/mergetool.py
@@ -79,12 +79,10 @@ def listChangedFiles():
changed = []
for line in lines:
# Remove trailing newline
- line = line.rstrip()
- print line
-
+ line = line[:-1]
+
# Extract the file state and name
- filestate = line[0:2].strip()
- filename = line[7:].strip()
+ (filestate, filename) = re.split(r'[ \+]+', line)
# Ignore files in build directory
if (filename.startswith("build/merge/") \
@@ -543,8 +541,7 @@ def commandRevert():
line = line[:-1]
# Extract the file state and name
- filestate = line[0:2].strip()
- filename = line[7:].strip()
+ (filestate, filename) = re.split(r'[ \+]+', line)
# Ignore files in build directory
if (filename.startswith("build/merge/") \