I have some issues trying to post a review. Everything seems okay if I run 
the following command in my Git workspace. The diff gets generated

W:\Jenkins\jobs\Build_Branch\workspace>"C:\Program Files\RBTools\bin\rbt" 
diff--server http://reviewboard.dev.local/ --username superman --password 
superman --disable-proxy --parent origin/201021 --tracking-branch 
origin/201021 -d

If I run the same command but instead of *diff* I change it to *post*. I 
endup with the following debug messages:


W:\Jenkins\jobs\Build_Branch\workspace>"C:\Program Files\RBTools\bin\rbt" 
post--server http://reviewboard.dev.local/ --username superman --password 
superman --disable-proxy --parent origin/201021 --tracking-branch 
origin/201021 -d
>>> RBTools 0.7.2
>>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit 
(Intel)]
>>> Running on Windows-XP-5.1.2600-SP3
>>> Home = C:\Documents and Settings\devadmin\Application Data
>>> Current directory = W:\Jenkins\jobs\Build_Branch\workspace
>>> Checking for a Subversion repository...
>>> Running: svn info --non-interactive
>>> Command exited with rc 1: ['svn', 'info', '--non-interactive']
svn: E155007: 'W:\Jenkins\jobs\Build_Branch\workspace' is not a working copy
---
>>> Checking for a Git repository...
>>> Running: git rev-parse --git-dir
>>> Running: git config core.bare
>>> Running: git rev-parse --show-toplevel
>>> Running: git symbolic-ref -q HEAD
>>> Running: git config --get branch.R-2173.merge
>>> Running: git config --get branch.R-2173.remote
>>> Running: git config --get remote.origin.url
>>> repository info: Path: g...@gitlab.dev.local:floor/b.git, Bas
e path: , Supports changesets: False
>>> Making HTTP GET request to http://reviewboard.dev.local/api/
>>> Running: git rev-parse refs/heads/R-2173
>>> Running: git merge-base cd2631bc7109a546d6b552f63781776c6754e653 
origin/2010
21
>>> Running: git rev-parse e4e572c9fb8c6af6b8c3b23c25d364d91faa709e
>>> Running: git rev-parse origin/201021
>>> Running: git status --porcelain --untracked-files=no
>>> Running: git rev-parse --git-dir
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color
--full-index --ignore-submodules -M --no-ext-diff 
e4e572c9fb8c6af6b8c3b23c25d364
d91faa709e..cd2631bc7109a546d6b552f63781776c6754e653
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color
--full-index --ignore-submodules -M --no-ext-diff 
e4e572c9fb8c6af6b8c3b23c25d364
d91faa709e..e4e572c9fb8c6af6b8c3b23c25d364d91faa709e
>>> Making HTTP GET request to http://reviewboard.dev.local/api/validation/d
iffs/
>>> Cached response for HTTP GET http://reviewboard.dev.local/api/validation
/diffs/ expired and was modified
>>> Making HTTP POST request to http://reviewboard.dev.local/api/validation/
diffs/
>>> Got API Error 206 (HTTP code 400): The repository path specified is not 
in t
he list of known repositories.
>>> Error data: {u'stat': u'fail', u'repository': 
u'g...@gitlab.dev.local:transformers/b.git', u'err': {u'msg': u'The 
repository path specified is not i
n the list of known repositories.', u'code': 206}}
Traceback (most recent call last):
  File "C:\Program Files\RBTools\bin\..\Python27\Scripts\rbt-script.py", 
line 8,
 in <module>
    load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
  File "C:\Program 
Files\RBTools\Python27\lib\site-packages\rbtools-0.7.2-py2.7.
egg\rbtools\commands\main.py", line 133, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
  File "C:\Program 
Files\RBTools\Python27\lib\site-packages\rbtools-0.7.2-py2.7.
egg\rbtools\commands\__init__.py", line 555, in run_from_argv
    exit_code = self.main(*args) or 0
  File "C:\Program 
Files\RBTools\Python27\lib\site-packages\rbtools-0.7.2-py2.7.
egg\rbtools\commands\post.py", line 698, in main
    (msg_prefix, e))
rbtools.commands.CommandError: Error validating diff

The repository path specified is not in the list of known repositories. 
(HTTP 40
0, API Error 206)

W:\Jenkins\jobs\Build_Branch\workspace>

NOTE: The repository is valid and *diff* wont complain about it 



-- 
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