diff options
author | chipx86 <chipx86@5efc13c4-1f27-0410-8691-ff2d1f55687e> | 2009-03-27 08:48:23 +0000 |
---|---|---|
committer | chipx86 <chipx86@5efc13c4-1f27-0410-8691-ff2d1f55687e> | 2009-03-27 08:48:23 +0000 |
commit | 6d7e0feaa709e518f527a00cb7b1ac675a8ce328 (patch) | |
tree | ed08fa9d7ab3b8b8d363a1b2946ebe2f93c95969 | |
parent | f5ec35fc2606a89034823ab15ccefb7e5bbe15c8 (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
-rw-r--r-- | AUTHORS | 5 | ||||
-rwxr-xr-x | scripts/post-review | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -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 "): |