Thanks Chris,
RBTools version is 4.3., sometime we have also see view diff show extra lines in diff, but the diff shows through p4 does not shows that diff.
DEBUG:root:Checking for a Perforce repository...
DEBUG:root:Running: p4 info
DEBUG:root:Running: diff --version
DEBUG:root:repository info: Path:
my_perforce_server.com:1666, Base path: None, Supports changesets: True
INFO:root:Generating diff for changenum 188276
DEBUG:root:Running: p4 describe -s 188276
DEBUG:root:Processing edit of //depot/path/codeline/source/pcl/custom/dbxs_link64.cmd
DEBUG:root:Writing "//depot/path/codeline/source/pcl/custom/dbxs_link64.cmd#5" to "c:\users\apat\appdata\local\temp\tmpl9ws7h"
DEBUG:root:Running: p4 print -o c:\users\apat\appdata\local\temp\tmpl9ws7h -q //depot/path/codeline/source/pcl/custom/dbxs_link64.cmd#5
DEBUG:root:Running: diff -urNp c:\users\apat\appdata\local\temp\tmpl9ws7h e:\\pat_full\\depoty\\path\\codeline\\source\\pcl\\custom\\dbxs_link64.cmd
DEBUG:root:Command exited with rc 1: ['diff', '-urNp', 'c:\\users\\apat\\appdata\\local\\temp\\tmpl9ws7h', 'e:\\pat_full\\depoty\\path\\codeline\\source\\pcl\\custom\\dbxs_link64.cmd']
--- c:\\users\\apat\\appdata\\local\\temp\\tmpl9ws7h 2013-04-04 11:21:52.798153800 +0530
+++ e:\\pat_full\\depoty\\path\\codeline\\source\\pcl\\custom\\dbxs_link64.cmd 2013-04-04 11:01:29.868974300 +0530
@@ -19,7 +19,7 @@ rem # All rights reserved
rem #
rem #------------------------------------------------------------------
rem
-
+rem test
rem # Fetch value of $D3_HOME or set to default value of "c:\comp\paat2006
rem # if this environment variable is not set
---
post-review.exe -o --bugs-closed="job-id" --branch="codeline" --server=
http://rb.company.com/rb --submit-as=apat --description-file="c:\users\apat\appdata\local\temp\tmppzcc08" 188276 --p4-port="
my_perforce_server.com:1666"
posting review request...
>>> RBTools 0.4.3
>>> Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [COMP v.1310 32 bit (Intel)]
>>> Running on Windows-Vista-6.1.7601
>>> Home = c:\users\apat\AppData\Roaming
>>> Current Directory = e:\pat_full
>>> Checking the repository type. Errors shown below are mostly harmless.
>>> Finished checking the repository type.
>>> HTTP GETting api/info/
>>> HTTP GETting api/
>>> HTTP GETting
http://rb.company.com/rb/api/info/>>> Using the new web API
>>> Attempting to create review request on
my_perforce_server.com:1666 for 188276
>>> Submitting the review request as apat
>>> HTTP POSTing to
http://rb.company.com/rb/api/review-requests/: {'changenum': '188276', 'submit_as': 'apat', 'repository': '
my_perforce_server.com:1666'}
>>> Got API Error 204 (HTTP code 409): The change number specified has already been used
>>> Error data: {u'stat': u'fail', u'review_request': {u'status': u'discarded', u'last_updated': u'2013-04-04T05:37:16Z', u'description': u'temp\n', u'links': {u'diffs': {u'href': u'
http://rb.company.com/rb/api/review-requests/45465/diffs/', u'method': u'GET'}, u'repository': {u'href': u'
http://rb.company.com/rb/api/repositories/1/', u'method': u'GET', u'title': u'pf-sa-1666'}, u'changes': {u'href': u'
http://rb.company.com/rb/api/review-requests/45465/changes/', u'method': u'GET'}, u'self': {u'href': u'
http://rb.company.com/rb/api/review-requests/45465/', u'method': u'GET'}, u'update': {u'href': u'
http://rb.company.com/rb/api/review-requests/45465/', u'method': u'PUT'}, u'last_update': {u'href': u'
http://rb.company.com/rb/api/review-requests/45465/last-update/', u'method': u'GET'}, u'reviews': {u'href': u'
http://rb.company.com/rb/api/review-requests/45465/reviews/', u'method': u'GET'}, u'draft': {u'href': u'
http://rb.company.com/rb/api/review-requests/45465/draft/', u'method': u'GET'}, u'file_attachments': {u'href': u'
http://rb.company.com/rb/api/review-requests/45465/file-attachments/', u'method': u'GET'}, u'submitter': {u'href': u'
http://rb.company.com/rb/api/users/apat/', u'method': u'GET', u'title': u'apat'}, u'screenshots': {u'href': u'
http://rb.company.com/rb/api/review-requests/45465/screenshots/', u'method': u'GET'}, u'delete': {u'href': u'
http://rb.company.com/rb/api/review-requests/45465/', u'method': u'DELETE'}}, u'target_groups': [], u'bugs_closed': [], u'changenum': 188276, u'target_people': [], u'testing_done': u'', u'branch': u'', u'id': 45465, u'time_added': u'2013-04-04T05:33:38Z', u'summary': u'temp', u'public': False}, u'err': {u'msg': u'The change number specified has already been used', u'code': 204}}
>>> Review request already exists. Updating it...
>>> HTTP PUTting to
http://rb.company.com/rb/api/review-requests/45465/: {'changenum': 188276}
>>> Attempting to set field 'branch' to 'codeline' for review request '45465'
>>> HTTP PUTting to
http://rb.company.com/rb/api/review-requests/45465/draft/: {'branch': 'codeline'}
>>> Attempting to set field 'bugs_closed' to 'job-id' for review request '45465'
>>> HTTP PUTting to
http://rb.company.com/rb/api/review-requests/4
5465/draft/: {'bugs_closed': 'job-id'}
>>> Attempting to set field 'description' to 'temp
>>> Uploading diff, size: 471
>>> HTTP POSTing to
http://rb.company.com/rb/api/review-requests/45465/diffs/: {}
Review request #45465 posted.
http://rb.company.com/rb/r/45465/