On Tue, Jun 3, 2014 at 8:33 AM, Colin Caughie <c.caug...@gmail.com> wrote:
> It is something I'd like to get to the bottom of though so if you have
any further information,
> e.g. what's going on in the particular diffs and parent diffs that cause
this issue, I'd be  glad to take a look at it.

I've managed to recreate the problem such that 'rbt post' works and 'hg
postreview' fails: first, on the remote server create a new repository with
"hg init". Then, in Windows (with Python 2.7), run:

hg clone <repo> rbtest01
cd rbtest01
echo Line1 > file1.txt
hg add file1.txt
hg commit -m "initial commit"
hg push
echo Line1 > file2.txt
hg qnew first
echo Line2 >> file2.txt
hg qnew second
hg postreview

If you don't create file1.txt and try and create a review with an empty
repo then 'rbt post' fails too, with:

>>> 1 outgoing changesets between remote and base.
>>> Running: hg parents --hidden -r 00d28ac9c6c6 --template {node|short}
--config extensions.rbtoolsnormalize=C:\Python27\lib\site-packages\
Traceback (most recent call last):
  File "C:\Python27\Scripts\rbt-script.py", line 9, in <module>
    load_entry_point('RBTools==0.6', 'console_scripts', 'rbt')()
line 134, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
line 422, in run_from_argv
    exit_code = self.main(*args) or 0
line 717, in main
    revisions = self.get_revisions()
line 619, in get_revisions
    self._revisions = self.tool.parse_revision_spec(self.cmd_args)
line 267, in parse_revision_spec
    '--template', '{node|short}']).split()[0]
IndexError: list index out of range


Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
Happy user? Let us know at http://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