Below is my command:

rbt post --debug --description "test desc" --summary "test summary" 
 --target-groups=gameDesign   47515


If the revision contains a added file , the command can work.

If the revision contains a updated file , it reports error:




>>> RBTools 0.7.4
>>> Python 2.6.6 (r266:84292, Feb 22 2013, 00:00:18) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]
>>> Running on Linux-2.6.32-358.el6.x86_64-x86_64-with-centos-6.4-Final
>>> Home = /root
>>> Current directory = /var/www/html/repo/data
>>> Running: git version
>>> Checking for a Subversion repository...
>>> Running: svn --non-interactive info
>>> Running: diff --version
>>> Running: svn --non-interactive --version -q
>>> repository info: Path: http://mydevsvn.net/M9, Base path: 
/server/trunk/data, Supports changesets: False
>>> Making HTTP GET request to http://192.168.180.33/api/
>>> Making HTTP GET request to http://192.168.180.33/api/repositories/
>>> Cached response for HTTP GET http://192.168.180.33/api/repositories/ 
expired and was modified
>>> Running: svn --non-interactive log --xml -r 47515 -l 1
>>> Running: svn --non-interactive info
>>> Running: diff --version
>>> Running: svn --non-interactive --version -q
>>> repository info: Path: http://mydevsvn.net/M9, Base path: 
/server/trunk/data, Supports changesets: False
>>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry 
-r 47514:47515
>>> Running: svn --non-interactive info function_level_info.xml
>>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry 
-r 47514:47515 --no-diff-deleted
>>> Running: svn --non-interactive info function_level_info.xml
>>> Running: svn --non-interactive info function_level_info.xml
>>> Running: svn --non-interactive info function_level_info.xml
>>> Making HTTP GET request to http://192.168.180.33/api/validation/diffs/
>>> Cached response for HTTP GET 
http://192.168.180.33/api/validation/diffs/ expired and was modified
>>> Making HTTP POST request to http://192.168.180.33/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'Authentication failed when 
talking to the Subversion repository', u'err': {u'msg': u'The specified 
diff file could not be parsed.', u'code': 224}}
Traceback (most recent call last):
  File "/usr/bin/rbt", line 9, in <module>
    load_entry_point('RBTools==0.7.4', 'console_scripts', 'rbt')()
  File 
"/usr/lib/python2.6/site-packages/RBTools-0.7.4-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.4-py2.6.egg/rbtools/commands/__init__.py",
 
line 612, in run_from_argv
    exit_code = self.main(*args) or 0
  File 
"/usr/lib/python2.6/site-packages/RBTools-0.7.4-py2.6.egg/rbtools/commands/post.py",
 
line 754, 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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to