Hi Christian,

Please find the details as you asked.

C:\HID\project-test\sis>rbt post --server http://reviewboard.test/reviews 
--submit-a
s "test" --debug
>>> RBTools 0.7.5 alpha 0 (dev)
>>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit 
(Intel)]
>>> Running on Windows-7-6.1.7601-SP1
>>> Home = C:\Users\dkanagaraj\AppData\Roaming
>>> Current directory = C:\HID\project-test\sis
>>> Checking for a Subversion repository...
>>> Unable to execute "svn help": skipping SVN
>>> Checking for a Git repository...
>>> Unable to execute "git --help" or "git.cmd --help": skipping Git
>>> Checking for a Mercurial repository...
>>> Running: hg root
>>> Running: hg showconfig
>>> Running: hg svn info
>>> Command exited with rc 255: [u'hg', u'svn', u'info']
hg: unknown command 'svn'
Mercurial Distributed SCM

basic commands:

 add           add the specified files on the next commit
 annotate      show changeset information by line for each file
 clone         make a copy of an existing repository
 commit        commit the specified files or all outstanding changes
 diff          diff repository (or selected files)
 export        dump the header and diffs for one or more changesets
 forget        forget the specified files on the next commit
 init          create a new repository in the given directory
 log           show revision history of entire repository or files
 merge         merge another revision into working directory
 pull          pull changes from the specified source
 push          push changes to the specified destination
 remove        remove the specified files on the next commit
 serve         start stand-alone webserver
 status        show changed files in the working directory
 summary       summarize working directory state
 update        update working directory (or switch revisions)

(use "hg help" for the full list of commands or "hg -v" for details)
---
>>> Using candidate path u'default': 
u'ssh://h...@hg-che.aaitg.com/Chennai/sis'
>>> repository info: Path: ssh://h...@hg-che.aaitg.com/Chennai/sis, Base 
path: , S
upports changesets: False
>>> Making HTTP GET request to http://reviewboard.test/reviews/api/
>>> Running: hg branch
>>> Running: hg -q outgoing --template {rev}\t{node|short}\t{branch}\n 
default -
r .
>>> Found outgoing changeset 75:9b67b2bd00f7
>>> Running: hg log -r 75 --template {parents}
>>> Running: hg parents --hidden -r 0
>>> Running: hg identify -i --hidden -r 74 --config 
"extensions.rbtoolsnormalize
=C:\Program Files 
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.5alpha0-p
y2.7.egg\rbtools\helpers\hgext.py"
>>> Running: hg identify -i --hidden -r 75 --config 
"extensions.rbtoolsnormalize
=C:\Program Files 
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.5alpha0-p
y2.7.egg\rbtools\helpers\hgext.py"
>>> Running: hg status --modified --added --removed --deleted
>>> Running: hg -q outgoing --template {rev}\t{node|short}\t{branch}\n 
default -
r 8d514d13b632
>>> Command exited with rc 1: [u'hg', u'-q', u'outgoing', u'--template', 
u'{rev}
\\t{node|short}\\t{branch}\\n', u'default', u'-r', u'8d514d13b632']
---
>>> 0 outgoing changesets between remote and base.
>>> Running: hg diff --hidden -r 8d514d13b632 -r 9b67b2bd00f7 --config 
"extensio
ns.rbtoolsnormalize=C:\Program Files 
(x86)\RBTools\Python27\lib\site-packages\rb
tools-0.7.5alpha0-py2.7.egg\rbtools\helpers\hgext.py"
>>> Running: hg locate -r 8d514d13b632
>>> Running: hg locate -r 9b67b2bd00f7
>>> Making HTTP GET request to 
http://reviewboard.test/reviews/api/validation/diffs/

>>> Cached response for HTTP GET 
http://reviewboard.test/reviews/api/validation/diff
s/ expired and was modified
>>> Making HTTP POST request to 
http://reviewboard.test/reviews/api/validation/diffs
/
>>> Got API Error 207 (HTTP code 400): The file was not found in the 
repository.

>>> Error data: {u'stat': u'fail', u'file': 
u'RFP/hid-MS-PoC/start-script.sh', u
'err': {u'msg': u'The file was not found in the repository.', u'code': 
207}, u'r
evision': u'8d514d13b632'}
Traceback (most recent call last):
  File "C:\Program Files 
(x86)\RBTools\bin\..\Python27\Scripts\rbt-script.py", l
ine 8, in <module>
    load_entry_point('RBTools==0.7.5alpha0', 'console_scripts', 'rbt')()
  File "C:\Program Files 
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.5a
lpha0-py2.7.egg\rbtools\commands\main.py", line 133, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
  File "C:\Program Files 
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.5a
lpha0-py2.7.egg\rbtools\commands\__init__.py", line 622, in run_from_argv
    exit_code = self.main(*args) or 0
  File "C:\Program Files 
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.5a
lpha0-py2.7.egg\rbtools\commands\post.py", line 754, in main
    (msg_prefix, e))
rbtools.commands.CommandError: Error validating diff

RFP/hid-MS-PoC/start-script.sh: The file was not found in the repository. 
(HTTP
400, API Error 207)


*NOTE:*

Revision 74 (created new file) request was able to post in review board. if 
i change that file once again /  change any file which already exists then 
seeing the above error.

Listed below the changesets using hg command and the diff using rbt command.


C:\HID\project-test\sis_backup_1>hg log -v |more
changeset:   75:4123af67124a
branch:      RFP
tag:         tip
user:        Divakar Kanagaraj
date:        Wed Feb 24 15:38:28 2016 +0530
files:       RFP/hid-MS-PoC/start-script.sh
description:
added comment for start-script.sh file


changeset:   74:8d514d13b632
branch:      RFP
user:        Divakar Kanagaraj
date:        Wed Feb 24 12:53:49 2016 +0530
files:       RFP/hid-MS-PoC/start-script.sh
description:
added test script to check reviewboard



C:\HID\project-test\sis_backup_1>rbt diff --server 
http://reviewboard.test/reviews
diff -r 8d514d13b632 -r 4123af67124a RFP/hid-MS-PoC/start-script.sh
--- a/RFP/hid-MS-PoC/start-script.sh    Wed Feb 24 12:53:49 2016 +0530
+++ b/RFP/hid-MS-PoC/start-script.sh    Wed Feb 24 15:38:28 2016 +0530
@@ -1,3 +1,5 @@
 #! /bin/bash

-echo "test script"
\ No newline at end of file
+
+#added comment
+echo "test script"


Thanks & Regards,
Divakar

On Thursday, 18 February 2016 13:38:29 UTC+5:30, Christian Hammond wrote:
>
> Can you show me exactly how you're posting the change for review, and any 
> debug information you can provide showing the operations that are happening?
>
> Is this using RBTools, or a custom script?
>
> Basically, the diff isn't being uploaded when creating the review request.
>
> Christian
>
> -- 
> Christian Hammond - chri...@beanbaginc.com <javascript:>
> Review Board - https://www.reviewboard.org
> Beanbag, Inc. - https://www.beanbaginc.com
>
> On Tue, Feb 16, 2016 at 4:45 AM, Divakar K <divak...@gmail.com 
> <javascript:>> wrote:
>
>> Additional information:
>>
>> Server1 (where reviewboard is installed)
>> Reviewboard version: 2.5.2
>> Operating system: CentOS Linux release 7.1.1503
>>
>> Server2 (From where trying to post review)
>> mercurial version: 3.6.3
>> Operating system: CentOS Linux release 7.1.1503
>>
>>
>> On Tuesday, 16 February 2016 18:06:42 UTC+5:30, Divakar K wrote:
>>>
>>> Unable to see the differences in reviewboard. Seeing the below error 
>>> while posting review. But in review board portal i can see the message. but 
>>> couldnt see the differences. Attached the wordfile which has screenshots.
>>>
>>> [dkanagaraj@localhost hid-MS-PoC]$ hg postreview tip --debug
>>> Parent is d63949c66c7a
>>> Remote parent is None
>>>
>>> === Diff from parent to rev ===
>>> diff -r d63949c66c7a0302f8f7495f5c1b62bfb2c0e92c -r 
>>> 16487c0824fdd5bd124e3266a1055be321b13f37 RFP/hid-MS-PoC/rundev.bat
>>> --- a/RFP/hid-MS-PoC/rundev.bat Mon Feb 15 14:59:19 2016 -0500
>>> +++ b/RFP/hid-MS-PoC/rundev.bat Mon Feb 15 16:22:21 2016 -0500
>>> @@ -1,3 +1,3 @@
>>> -
>>> +@REM
>>>  start cmd /k "cd portal& call rundev.bat"
>>>  start cmd /k "cd rfp& call rundev.bat"
>>>
>>>
>>> Changeset 72:16487c0824fd
>>> ---------------------------
>>> changed rundev.bat for reviewboard
>>>
>>> reviewboard:    http://10.129.47.15/reviews/
>>>
>>> Looking for '10.129.47.15 /reviews/' cookie in 
>>> /home/dkanagaraj/.post-review-cookies.txt
>>> Loaded valid cookie -- no login required
>>> Repositories:
>>> [2] chennai_sis
>>> repository id: 2
>>> abort: The file was not found in the repository. (207)
>>> stat: fail
>>> file: RFP/hid-MS-PoC/rundev.bat
>>> revision: d63949c66c7a0302f8f7495f5c1b62bfb2c0e92c
>>>
>>>
>>> *Below are from reviewboard logs which enabled in debug mode*
>>>
>>>
>>> 2016-02-15 21:20:37,678 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:20:37,678 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:20:37,683 - DEBUG -  - Cache miss for key 
>>> jsi18n-djangojs-reviewboard_djblets-en-1449235847.
>>> 2016-02-15 21:20:38,303 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:20:38,395 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:20:38,398 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:20:38,404 - DEBUG -  - Cache miss for key 
>>> jsi18n-djangojs-reviewboard_djblets-en-1449235847.
>>> 2016-02-15 21:20:41,625 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:20:41,692 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:20:41,696 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:20:41,701 - DEBUG -  - Cache miss for key 
>>> jsi18n-djangojs-reviewboard_djblets-en-1449235847.
>>> 2016-02-15 21:20:44,529 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:20:44,614 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:20:44,619 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:20:44,624 - DEBUG -  - Cache miss for key 
>>> jsi18n-djangojs-reviewboard_djblets-en-1449235847.
>>> 2016-02-15 21:20:46,856 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:20:46,911 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:20:46,917 - DEBUG -  - Cache miss for key 
>>> jsi18n-djangojs-reviewboard_djblets-en-1449235847.
>>> 2016-02-15 21:22:26,589 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:22:26,607 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:22:26,624 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:22:28,363 - DEBUG -  - DiffParser.parse: Beginning parse 
>>> of diff, size = 357
>>> 2016-02-15 21:22:28,363 - DEBUG -  - DiffParser.parse: Finished parsing 
>>> diff.
>>> 2016-02-15 21:22:28,404 - DEBUG -  - Using rbssh for mercurial
>>> 2016-02-15 21:23:42,366 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:23:42,508 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:23:42,514 - DEBUG -  - Cache miss for key 
>>> jsi18n-djangojs-reviewboard_djblets-en-1449235847.
>>> 2016-02-15 21:23:46,635 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:23:46,765 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:23:46,771 - DEBUG -  - Cache miss for key 
>>> jsi18n-djangojs-reviewboard_djblets-en-1449235847.
>>> 2016-02-15 21:25:02,913 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:25:03,019 - WARNING -  - 
>>> /usr/lib/python2.7/site-packages/reviewboard/reviews/markdown_utils.py:40: 
>>> DeprecationWarning: reviewboard.reviews.markdown_utils.markdown_escape is 
>>> deprecated. Please use djblets.markdown.markdown_escape.
>>>   DeprecationWarning)
>>>
>>> 2016-02-15 21:25:03,062 - INFO -  - Reloading logging settings
>>> 2016-02-15 21:25:03,067 - DEBUG -  - Cache miss for key 
>>> jsi18n-djangojs-reviewboard_djblets-en-1449235847.
>>> 2016-02-15 21:25:03,255 - INFO -  - Reloading logging settings
>>> *2016-02-15 21:26:40,118 - INFO -  - Reloading logging settings*
>>> *2016-02-15 21:26:40,136 - INFO -  - Reloading logging settings*
>>> *2016-02-15 21:26:40,174 - INFO -  - Reloading logging settings*
>>> *2016-02-15 21:26:40,227 - INFO -  - Reloading logging settings*
>>> *2016-02-15 21:26:40,245 - DEBUG -  - DiffParser.parse: Beginning parse 
>>> of diff, size = 357*
>>> *2016-02-15 21:26:40,245 - DEBUG -  - DiffParser.parse: Finished parsing 
>>> diff.*
>>> *2016-02-15 21:26:40,297 - DEBUG -  - Using rbssh for mercurial*
>>>
>>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to