summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchipx86 <chipx86@5efc13c4-1f27-0410-8691-ff2d1f55687e>2009-03-27 08:48:23 +0000
committerchipx86 <chipx86@5efc13c4-1f27-0410-8691-ff2d1f55687e>2009-03-27 08:48:23 +0000
commit26f767ac85b40c394a7936d6af92a6134b9fcb16 (patch)
treeed08fa9d7ab3b8b8d363a1b2946ebe2f93c95969
parent28b1e575f4f7472dbbc18d9fcc3e2f4f0bc89f70 (diff)
Patch by Raghu Kaippully to fix changesets with binary files in Perforce when using post-review.
Reviewed at http://reviews.review-board.org/r/787/ Fixes bug #585 git-svn-id: https://reviewboard.googlecode.com/svn/trunk/rbtools@1862 5efc13c4-1f27-0410-8691-ff2d1f55687e
-rw-r--r--AUTHORS5
-rwxr-xr-xscripts/post-review3
2 files changed, 7 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 675325c..f68edfa 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -2,3 +2,8 @@ Lead Developers:
* Christian Hammond
* David Trowbridge
+
+
+Contributors:
+
+ * Raghu Kaippully
diff --git a/scripts/post-review b/scripts/post-review
index d2c1335..9f67c9c 100755
--- a/scripts/post-review
+++ b/scripts/post-review
@@ -1455,7 +1455,8 @@ class PerforceClient(SCMClient):
# and the code below expects the outptu to start with
# "Binary files "
if len(dl) == 1 and \
- dl[0] == ('Files %s and %s differ'% (old_file, new_file)):
+ dl[0].startswith('Files %s and %s differ' %
+ (old_file, new_file)):
dl = ['Binary files %s and %s differ'% (old_file, new_file)]
if dl == [] or dl[0].startswith("Binary files "):