We are currently evaluation Review Board 2.5.3 with Power Pack (Team 
Foundation Server support). TFS Git repository configuration seemed easy 
enough, however we cannot create review requests for *changed *files 
because of diff problems (we *can* rbt post a review request including only 
a *new* file):

Unexpected error when validating the diff: get_file() got an unexpected 
keyword argument 'base_commit_id' (HTTP 400, API Error 224)

Review Board 2.5.3
Team Foundation Server 2015
TFS Git repository on a *remote *machine (is this a problem?)

Full output of rbt post -d as follows:

C:\Git\xxxxxxxxxxxxxx>rbt post -d
>>> RBTools 0.7.6
>>> Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:32:19) [MSC v.1500 
32 bit (Intel)]
>>> Running on Windows-2008ServerR2-6.1.7601-SP1
>>> Home = c:\Users\jaeger
>>> Current directory = C:\Git\xxxxxxxxxxxxxx
>>> Checking for a Subversion repository...
>>> Unable to execute "svn help": skipping SVN
>>> 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.develop.merge
>>> Running: git config --get branch.develop.remote
>>> Running: git config --get remote.origin.url
>>> repository info: Path: 
http://xxxxxxxxxx:8080/tfs/DefaultCollection/_git/xxxxxxxxxxxxxx, Base 
path: , Supports changesets: False 
>>> Making HTTP GET request to https://reviewboard/api/
>>> Running: git rev-parse refs/heads/develop
>>> Running: git merge-base bab305eec3a08315b425ddf6da8d60fe23449f02 
origin/develop
>>> Running: git rev-parse 7a5d9468ca02fadbf84056ab832e65fdf116b1c6
>>> Running: git status --porcelain --untracked-files=no
>>> Running: git rev-parse --git-dir
>>> Running: git version
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules -M --no-ext-diff 
7a5d9468ca02fadbf84056ab832e65fdf116b1c6..bab305eec3a08315b425ddf6da8d60fe23449f02
>>> Making HTTP GET request to https://reviewboard/api/validation/diffs/
>>> Cached response for HTTP GET https://reviewboard/api/validation/diffs/ 
expired and was modified
>>> Making HTTP POST request to https://reviewboard/api/validation/diffs/
>>> Got API Error 224 (HTTP code 400): Unexpected error when validating the 
diff: get_file() got an unexpected keyword argument 'b ase_commit_id'
>>> Error data: {u'stat': u'fail', u'err': {u'msg': u"Unexpected error when 
validating the diff: get_file() got an unexpected keyw ord argument 
'base_commit_id'", u'code': 224}}
Traceback (most recent call last):
  File "c:\python27\lib\runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "c:\python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Python27\Scripts\rbt.exe\__main__.py", line 9, in <module>
  File "c:\python27\lib\site-packages\rbtools\commands\main.py", line 133, 
in main
    command.run_from_argv([RB_MAIN, command_name] + args)
  File "c:\python27\lib\site-packages\rbtools\commands\__init__.py", line 
629, in run_from_argv
    exit_code = self.main(*args) or 0
  File "c:\python27\lib\site-packages\rbtools\commands\post.py", line 756, 
in main
    (msg_prefix, e))
rbtools.commands.CommandError: Error validating diff

Unexpected error when validating the diff: get_file() got an unexpected 
keyword argument 'base_commit_id' (HTTP 400, API Error 224 )

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