Comment #6 on issue 547 by post-review doesn't link up with authenticated Mercurial repositories properly

It looks like post-review sets HGRCPATH to /dev/null which doesn't seem very friendly or useful. I tried removing this and I get the follow stack trace:

Traceback (most recent call last):
  File "/usr/local/share/python/post-review", line 9, in <module>
    load_entry_point('RBTools==0.3.2', 'console_scripts', 'post-review')()
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/rbtools/", line 3773, in main
    diff, parent_diff = tool.diff(args)
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/rbtools/", line 2446, in diff
    return self._get_outgoing_diff(files)
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/rbtools/", line 2503, in _get_outgoing_diff
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/rbtools/", line 2540, in _get_top_and_bottom_outgoing_revs
    top_rev = max(outgoing_changesets)
ValueError: max() arg is an empty sequence

I am guessing post-review does this to keep problematic hgrc files from breaking it but it seems to have done the opposite for me.

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to