I am getting the following error whenever I attempt to "rbt post" a change that contains updates to an existing file. Posting a change containing a single new file works as expected.
I have attached a fiddler archive with the reviewboard request. I am using an ssh git repository. I am accessing the reviewboard instance from Windows 8.1 using RBTools for Windows. $ rbt post --debug >>> RBTools 0.7 >>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] >>> Running on Windows-8-6.2.9200 >>> Home = C:\Users\janderson\AppData\Roaming >>> Current directory = c:\work >>> 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.test.merge >>> Running: git config --get branch.test.remote >>> Running: git config --get remote.origin.url >>> repository info: Path: git@q-git:/opt/git/quosal.git, Base path: , Supports changesets: False >>> Making HTTP GET request to http://codereview/api/ >>> Cached response for HTTP GET http://codereview/api/ expired and was modified >>> Running: git rev-parse refs/heads/test >>> Running: git merge-base 7c9e3a6183f52cd33e4a203c6d53b46b6748c7af origin/master >>> Running: git rev-parse dd3d91bf5665f5d3bf022b6ec170fdd96b8a6ac4 >>> Running: git status --porcelain --untracked-files=no >>> Running: git diff --no-color --full-index --ignore-submodules -M --no-ext-diff dd3d91bf5665f5d3bf022b6ec170fdd96b8a6ac4..7c9e3a6183f52cd33e4a203c6d53b46b6748c7af >>> Making HTTP GET request to http://codereview/api/validation/ >>> Cached response for HTTP GET http://codereview/api/validation/ expired and was not modified >>> Making HTTP GET request to http://codereview/api/validation/diffs/ >>> Cached response for HTTP GET http://codereview/api/validation/diffs/ expired and was modified >>> Making HTTP POST request to http://codereview/api/validation/diffs/ >>> Got API Error 224 (HTTP code 400): The specified diff file could not be parsed. >>> Error data: {u'stat': u'fail', u'reason': u"fatal: Not a git repository: 'None'\n", u'err': {u'msg': u'The specified diff file could not be parsed.', u'code': 224}} Traceback (most recent call last): File "c:/Program Files (x86)/RBTools/Python27/Scripts/rbt-script.py", line 8, in <module> load_entry_point('RBTools==0.7', 'console_scripts', 'rbt')() File "c:\Program Files (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7-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-py2.7.egg\rbtools\commands\__init__.py", line 538, in run_from_argv exit_code = self.main(*args) or 0 File "c:\Program Files (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7-py2.7.egg\rbtools\commands\post.py", line 662, in main (msg_prefix, e)) rbtools.commands.CommandError: Error validating diff The specified diff file could not be parsed. (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 [email protected]. For more options, visit https://groups.google.com/d/optout.
Reviewboard Diff File Could Not Be Parsed.saz
Description: Binary data
