Hi, This is correct. Review Board must point to the repository, and not a subdirectory within the repository, or it won't be able to correctly compute paths relative to the root. Is there a reason that pointing to the root doesn't work in your case?
Christian On Wed, Aug 30, 2017 at 4:05 AM, Heng Zhang <[email protected]> wrote: > my svn repository root url: svn://10.16.28.38/test > repository url configured in RB: svn://10.16.28.38/test/Python2.7.13 > my checkout url: svn://10.16.28.38/test/Python-2.7.13/Python > > I create review request from RB web page is OK, but it is faild when I > tried to use rbt post command to create new review quest, > I think rbt post has bug which need to fix. > detailed infomation as shown below: > > (virtural_python2.7.13) [zhangheng-pd@dev33 Python]$ rbt --version > RBTools 0.7.10 > > (virtural_python2.7.13) [zhangheng-pd@dev33 Python]$ svn info > Path: . > Working Copy Root Path: /home/zhangheng-pd/28.38.svnserver/Python > URL: svn://10.16.28.38/test/Python-2.7.13/Python > Relative URL: ^/Python-2.7.13/Python > Repository Root: svn://10.16.28.38/test > Repository UUID: 0cfbf187-43c6-4c1e-980d-627b8a51bf26 > Revision: 77 > Node Kind: directory > Schedule: normal > Last Changed Author: zhangheng-pd > Last Changed Rev: 77 > Last Changed Date: 2017-08-16 16:20:38 +0800 (三, 16 8月 2017) > > (virtural_python2.7.13) [zhangheng-pd@dev33 Python]$ rbt post -d > >>> RBTools 0.7.10 > >>> Python 2.7.13 (default, Jun 13 2017, 18:49:24) > [GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] > >>> Running on Linux-2.6.32-2.0.0.8-6-x86_64-with-centos-6.8-Final > >>> Home = /home/zhangheng-pd > >>> Current directory = /home/zhangheng-pd/28.38.svnserver/Python > >>> Command line: rbt post -d > >>> Running: tf vc help > >>> Checking for a Subversion repository... > >>> Running: svn --non-interactive info > >>> Running: diff --version > >>> Running: svn --non-interactive --version -q > >>> repository info: Path: svn://10.16.28.38/test, Base path: > /Python-2.7.13/Python, Supports changesets: False > >>> Making HTTP GET request to http://10.16.28.33/reviews/api/ > >>> Making HTTP GET request to http://10.16.28.33/reviews/ > api/repositories/?tool=Subversion > >>> Cached response for HTTP GET http://10.16.28.33/reviews/ > api/repositories/?tool=Subversion expired and was modified > >>> Making HTTP GET request to http://10.16.28.33/reviews/ > api/repositories/2/info/ > >>> Cached response for HTTP GET http://10.16.28.33/reviews/ > api/repositories/2/info/ expired and was modified > >>> Making HTTP GET request to http://10.16.28.33/reviews/ > api/repositories/3/info/ > >>> Cached response for HTTP GET http://10.16.28.33/reviews/ > api/repositories/3/info/ expired and was modified > >>> Making HTTP GET request to http://10.16.28.33/reviews/ > api/repositories/4/info/ > >>> Cached response for HTTP GET http://10.16.28.33/reviews/ > api/repositories/4/info/ expired and was modified > >>> Making HTTP GET request to http://10.16.28.33/reviews/ > api/repositories/5/info/ > >>> Cached response for HTTP GET http://10.16.28.33/reviews/ > api/repositories/5/info/ expired and was modified > >>> Making HTTP GET request to http://10.16.28.33/reviews/ > api/repositories/6/info/ > >>> Cached response for HTTP GET http://10.16.28.33/reviews/ > api/repositories/6/info/ expired and was modified > >>> Making HTTP GET request to http://10.16.28.33/reviews/ > api/repositories/7/info/ > >>> Got API Error 210 (HTTP code 500): There was an error fetching > extended information for this repository. > >>> Error data: {u'stat': u'fail', u'err': {u'msg': u'There was an error > fetching extended information for this repository.', u'code': 210}} > >>> Making HTTP GET request to http://10.16.28.33/reviews/ > api/repositories/9/info/ > >>> Cached response for HTTP GET http://10.16.28.33/reviews/ > api/repositories/9/info/ expired and was modified > >>> Making HTTP GET request to http://10.16.28.33/reviews/ > api/repositories/12/info/ > >>> Cached response for HTTP GET http://10.16.28.33/reviews/ > api/repositories/12/info/ expired and was modified > >>> repository info: Path: svn://10.16.28.38/test/Python-2.7.13, Base > path: /Python, Supports changesets: False > >>> Running: svn --non-interactive info > >>> Running: diff --version > >>> Running: svn --non-interactive --version -q > >>> repository info: Path: svn://10.16.28.38/test, Base path: > /Python-2.7.13/Python, Supports changesets: False > >>> Running: svn --non-interactive status -q --ignore-externals > >>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry > -r BASE > >>> Running: svn --non-interactive info README > >>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry > -r BASE --no-diff-deleted > >>> Running: svn --non-interactive info README > >>> Running: svn --non-interactive info README > >>> Running: svn --non-interactive info README > >>> Making HTTP GET request to http://10.16.28.33/reviews/ > api/validation/diffs/ > >>> Cached response for HTTP GET http://10.16.28.33/reviews/ > api/validation/diffs/ expired and was modified > >>> Making HTTP POST request to http://10.16.28.33/reviews/ > 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'/Python-2.7.13/Python/README', > u'err': {u'msg': u'The file was not found in the repository.', u'code': > 207}, u'revision': u'81'} > Traceback (most recent call last): > File "/home/zhangheng-pd/virtural_python2.7.13/bin/rbt", line 11, in > <module> > sys.exit(main()) > File "/home/zhangheng-pd/virtural_python2.7.13/lib/python2.7/ > site-packages/rbtools/commands/main.py", line 133, in main > command.run_from_argv([RB_MAIN, command_name] + args) > File "/home/zhangheng-pd/virtural_python2.7.13/lib/python2.7/ > site-packages/rbtools/commands/__init__.py", line 663, in run_from_argv > exit_code = self.main(*args) or 0 > File "/home/zhangheng-pd/virtural_python2.7.13/lib/python2.7/ > site-packages/rbtools/commands/post.py", line 812, in main > (msg_prefix, e)) > rbtools.commands.CommandError: Error validating diff > > /Python-2.7.13/Python/README: The file was not found in the repository. > (HTTP 400, API Error 207) > > -- > 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. > -- Christian Hammond President/CEO of Beanbag <https://www.beanbaginc.com/> Makers of Review Board <https://www.reviewboard.org/> -- 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.
