It looks like you might be using --diff-filename with a diff you made
yourself?

If that's the case, you need to add --full-index to your git diff command.

-David


On Fri, Dec 16, 2016 at 2:13 PM Mark Wiederholt <[email protected]>
wrote:


I am having problems posting a reviewboard topic. It comes back with the
following error.

>>> RBTools 0.7.5
>>> Python 2.6.6 (r266:84292, May 22 2015, 08:34:51)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-15)]
>>> Running on
Linux-2.6.32-642.1.1.el6.x86_64-x86_64-with-redhat-6.8-Santiago
>>> Home = /users/mwiederh
>>> Current directory = /users/mwiederh/repos/ts-mfed
>>> Checking for a Subversion repository...
>>> Running: svn --non-interactive info
>>> Command exited with rc 1: ['svn', '--non-interactive', u'info']
svn: '.' 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.next.merge
>>> Running: git config --get branch.next.remote
>>> Running: git config --get remote.origin.url
>>> repository info: Path: gitolite@deveod1:ts-mfed.git, Base path: ,
Supports changesets: False
>>> Making HTTP GET request to https://infra1.ts21.gov/rb/api/
>>> Making HTTP GET request to
https://infra1.ts21.gov/rb/api/validation/diffs/
>>> Cached response for HTTP GET
https://infra1.ts21.gov/rb/api/validation/diffs/ expired and was modified
>>> Making HTTP POST request to
https://infra1.ts21.gov/rb/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'utils/src/ModeCommandProcess.cpp', u'err': {u'msg': u'The file was not
found in the repository.', u'code': 207}, u'revision': u'6f94900'}
Traceback (most recent call last):
  File "/usr/bin/rbt", line 9, in <module>
    load_entry_point('RBTools==0.7.5', 'console_scripts', 'rbt')()
  File
"/usr/lib/python2.6/site-packages/RBTools-0.7.5-py2.6.egg/rbtools/commands/main.py",
line 133, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
  File
"/usr/lib/python2.6/site-packages/RBTools-0.7.5-py2.6.egg/rbtools/commands/__init__.py",
line 622, in run_from_argv
    exit_code = self.main(*args) or 0
  File
"/usr/lib/python2.6/site-packages/RBTools-0.7.5-py2.6.egg/rbtools/commands/post.py",
line 754, in main
    (msg_prefix, e))
rbtools.commands.CommandError: Error validating diff

utils/src/ModeCommandProcess.cpp: The file was not found in the repository.
(HTTP 400, API Error 207)


On some files it works others it doesnt.  I checked the linux file and
directory permissions all good.


Any suggestions?











-- 


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.

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

Reply via email to