Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3767 by jordangl...@gmail.com: `ERROR: Error validating diff` for
any pair of revs when using `rbt post` in 0.7.x
https://code.google.com/p/reviewboard/issues/detail?id=3767
What version are you running?
0.7, 0.7.1alpha0
What steps will reproduce the problem?
1. `rbt post rev1 rev2`
What is the expected output? What do you see instead?
Any pair of revisions results in an `Error validating diff`. The file
named as the culprit seems to be random.
This error occurred with the 0.7 release as well. 0.6.x still works fine.
$ rbt post a27acf5 1bac5b5
ERROR: Error validating diff
xxxx-mobile/Gruntfile.js: The file was not found in the repository. (HTTP
400, API Error 207)
$ rbt post -d a27acf5 1bac5b5
RBTools 0.7.1 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\xxxxx\AppData\Roaming
Current directory = c:\Users\xxxx\work\xxxxx
Checking for a Subversion repository...
Running: svn info --non-interactive
Command exited with rc 1: ['svn', 'info', '--non-interactive']
svn: E155007: 'C:\Users\xxxx\work\xxxxx' 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.develop.merge
Running: git config --get branch.develop.remote
Running: git config --get remote.origin.url
repository info: Path: g...@bitbucket.org:xxxxx.git, Base path: ,
Supports changesets: False
Making HTTP GET request to https://rb.dev.xxxxxx.net/api/
Running: git rev-parse a27acf5 1bac5b5
Running: git merge-base a27acf525f8941720002c79354ec2c0a888ce2d4
origin/develop
Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules -M --no-ext-diff
a27acf525f8941720002
c79354ec2c0a888ce2d4..1bac5b53513fdf686c37e443896e20be33c96c86
Making HTTP GET request to https://rb.dev.xxxx.net/api/validation/diffs/
Making HTTP POST request to
https://rb.dev.xxxxxx.net/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'xxxxxxx-mobile/Gruntfile.js',
u'err': {u'msg': u'The file was not found in the repository.', u'code':
207
}, u'revision': u'968f087a464aab56095d28e24d0b6f50603720dc'}
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.1alpha0', 'console_scripts', 'rbt')()
File "c:\program files
(x86)\rbtools\python27\lib\site-packages\rbtools-0.7.1alpha0-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.1alpha0-py2.7.egg\rbtools\commands\__init__.py",
line 538, in run_from_a
rgv
exit_code = self.main(*args) or 0
File "c:\program files
(x86)\rbtools\python27\lib\site-packages\rbtools-0.7.1alpha0-py2.7.egg\rbtools\commands\post.py",
line 670, in main
(msg_prefix, e))
rbtools.commands.CommandError: Error validating diff
xxxxx-mobile/Gruntfile.js: The file was not found in the repository. (HTTP
400, API Error 207)
What operating system are you using? What browser?
W7
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.