Hi Mako, We have a fix for this pending (https://reviews.reviewboard.org/r/8222/), which we'll put out in the next RBTools.
Christian -- Christian Hammond President/CEO of Beanbag <https://www.beanbaginc.com/> Makers of Review Board <https://www.reviewboard.org/> On Tue, Jun 7, 2016 at 6:56 PM, Mako Chang <gogom...@gmail.com> wrote: > Hi Christian, > > Yes, there are some excluded files in my .reviewboardrc. > > I use the same .reviewboardrc copies in both svn and git-svn repositories. > > rbt post works in svn repo but fails in git-svn repo. > > I remove the excluded files and it works perfectly. Thanks a lot. > > Mako > > Christian Hammond於 2016年6月8日星期三 UTC+8上午3時32分33秒寫道: >> >> Hi Mako, >> >> Do you have excluded files specified in .reviewboardrc? >> >> It looks like we probably have some bugs in this code. We'll take a look. >> >> Christian >> >> -- >> Christian Hammond >> President/CEO of Beanbag <https://www.beanbaginc.com/> >> Makers of Review Board <https://www.reviewboard.org/> >> >> On Fri, Jun 3, 2016 at 3:14 AM, Mako Chang <gogo...@gmail.com> wrote: >> >>> Hi >>> >>> My RBTools version is 0.7.4. Review Board version is 2.0.23. >>> >>> I got message "CRITICAL: list index out of range" when I use "rbt post" >>> in my git-svn repository in both RBT version 0.7.4 and 0.7.6. >>> >>> Here is the debug message. >>> $rbt post -d >>> >>> RBTools 0.7.6 >>> >>> 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/admin >>> >>> Current directory = d:\Workspace\gs >>> >>> Checking for a Subversion repository... >>> >>> Running: svn --non-interactive info >>> >>> Command exited with rc 1: ['svn', '--non-interactive', u'info'] >>> svn: E155007: 'D:\Workspace\gs' 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 svn info >>> >>> Running: git svn rebase -n >>> >>> repository info: Path: svn://192.168.2.6, Base path: /SRC/gs, >>> Supports changesets: False >>> >>> Making HTTP GET request to http://192.168.1.250/api/ >>> >>> Making HTTP GET request to >>> http://192.168.1.250/api/repositories/?tool=Subversion >>> >>> Cached response for HTTP GET >>> http://192.168.1.250/api/repositories/?tool=Subversion expired and was >>> modified >>> >>> Running: git rev-parse refs/heads/master >>> >>> Running: git merge-base 4d48570a67d49a541c0ec9fa772fd629d3cfe89b >>> refs/remotes/git-svn >>> >>> Running: git rev-parse cd42967ef95602e7f5a840e2ea5662ebdeeba875 >>> >>> Running: git status --porcelain --untracked-files=no >>> >>> Running: git rev-parse --git-dir >>> >>> Running: git version >>> >>> Running: git -c core.quotepath=false diff-tree --no-color >>> --no-prefix -r -u --no-ext-diff >>> cd42967ef95602e7f5a840e2ea5662ebdeeba875..4d48570a67d49a541c0ec9fa772fd629d3cfe89b >>> >>> Running: git rev-parse --git-dir >>> >>> Running: git -c core.quotepath=false diff --no-color --no-prefix -r >>> -u --no-ext-diff >>> cd42967ef95602e7f5a840e2ea5662ebdeeba875..4d48570a67d49a541c0ec9fa772fd629d3cfe89b >>> -- api.c >>> Running: git -c core.quotepath=false diff --no-color >>> --no-prefix -r -u --no-ext-diff >>> cd42967ef95602e7f5a840e2ea5662ebdeeba875..4d48570a67d49a541c0ec9fa772fd629d3cfe89b >>> -- 100644 >>> >>> Running: git -c core.quotepath=false diff --no-color --no-prefix -r >>> -u --no-ext-diff >>> cd42967ef95602e7f5a840e2ea5662ebdeeba875..4d48570a67d49a541c0ec9fa772fd629d3cfe89b >>> -- api.c >>> Running: git -c core.quotepath=false diff --no-color >>> --no-prefix -r -u --no-ext-diff >>> cd42967ef95602e7f5a840e2ea5662ebdeeba875..4d48570a67d49a541c0ec9fa772fd629d3cfe89b >>> -- api.c >>> Running: git -c core.quotepath=false diff --no-color >>> --no-prefix -r -u --no-ext-diff >>> cd42967ef95602e7f5a840e2ea5662ebdeeba875..4d48570a67d49a541c0ec9fa772fd629d3cfe89b >>> -- api_init(void) >>> >>> Running: git -c core.quotepath=false diff --no-color --no-prefix -r >>> -u --no-ext-diff >>> cd42967ef95602e7f5a840e2ea5662ebdeeba875..4d48570a67d49a541c0ec9fa772fd629d3cfe89b >>> -- } >>> Traceback (most recent call last): >>> File "c:/Program Files >>> (x86)/RBTools/bin/../Python27/Scripts/rbt-script.py", line 8, in <module> >>> load_entry_point('RBTools==0.7.6', 'console_scripts', 'rbt')() >>> File "c:\Program Files >>> (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.6-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.6-py2.7.egg\rbtools\commands\__init__.py", >>> line 629, in run_from_argv >>> exit_code = self.main(*args) or 0 >>> File "c:\Program Files >>> (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.6-py2.7.egg\rbtools\commands\post.py", >>> line 693, in main >>> extra_args=extra_args) >>> File "c:\Program Files >>> (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.6-py2.7.egg\rbtools\clients\git.py", >>> line 473, in diff >>> exclude_patterns) >>> File "c:\Program Files >>> (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.6-py2.7.egg\rbtools\clients\git.py", >>> line 558, in make_diff >>> for filename in changed_files: >>> File "c:\Program Files >>> (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.6-py2.7.egg\rbtools\utils\diffs.py", >>> line 83, in <genexpr> >>> filename >>> File "c:\Program Files >>> (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.6-py2.7.egg\rbtools\clients\git.py", >>> line 553, in <genexpr> >>> (filename.split()[-1] for filename in changed_files), >>> IndexError: list index out of range >>> >>> Thanks for reading this. >>> >>> -- >>> 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...@googlegroups.com. >>> 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 reviewboard+unsubscr...@googlegroups.com. > 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 reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.