Very confused. Perhaps this is fixed by an upgrade? I'm running 2.5.9. I've got a user who clones a Git repository, makes a random change to the source, commits the change, then tries "rbt post -d". It fails. I've been able to reproduce the problem, so it isn't restricted to the specific user.
(Note that I've blanked details specific to our environment, that seem unrelated to the bug.) >>> RBTools 0.7.10 >>> Python 2.7.10 (default, Feb 7 2017, 00:08:15) _______ >>> Command line: rbt post -d >>> Running: tf vc help >>> Checking for a Subversion repository... >>> Running: svn --non-interactive info >>> Command exited with rc 1: ['svn', '--non-interactive', u'info'] svn: E155007: '_______________' 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.master.merge >>> Running: git config --get branch.master.remote >>> Running: git config --get remote.origin.url >>> repository info: Path: https://______________________, Base path: , Supports changesets: False >>> Making HTTP GET request to https://_______________api/ >>> Running: git rev-parse refs/heads/master >>> Running: git merge-base e7b4515500eddbacd3846f24e59e6b5c5672fa6b origin/master >>> Running: git rev-parse 0c5abaf3d4854a4e13f084b85aa7bb9f3b8c491e >>> Running: git status --porcelain --untracked-files=no --ignore-submodules=dirty >>> 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 0c5abaf3d4854a4e13f084b85aa7bb9f3b8c491e..e7b4515500eddbacd3846f24e59e6b5c5672fa6b >>> Making HTTP GET request to https://__________________api/validation/diffs/ >>> Cached response for HTTP GET https://________________api/validation/diffs/ expired and was modified >>> Making HTTP POST request to https://________________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'karma.conf.js', u'err': {u'msg': u'The file was not found in the repository.', u'code': 207}, u'revision': u'3c350734aaf218bc5d8c2b5ee1e257ff22ac2e7d'} Traceback (most recent call last): File "/usr/local/bin/rbt", line 9, in <module> load_entry_point('RBTools==0.7.10', 'console_scripts', 'rbt')() File "/Library/Python/2.7/site-packages/RBTools-0.7.10-py2.7.egg/rbtools/commands/main.py", line 133, in main command.run_from_argv([RB_MAIN, command_name] + args) File "/Library/Python/2.7/site-packages/RBTools-0.7.10-py2.7.egg/rbtools/commands/__init__.py", line 663, in run_from_argv exit_code = self.main(*args) or 0 File "/Library/Python/2.7/site-packages/RBTools-0.7.10-py2.7.egg/rbtools/commands/post.py", line 812, in main (msg_prefix, e)) rbtools.commands.CommandError: Error validating diff What's going on, and how do I fix it? Eric -- 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.
