I've not figured out why it only sometimes happens, but I've found that
'rbt post' will sometimes throw an exception on Windows, apparently
complaining about "key=" lines in "hg showconfig" where there's no value.
The traceback is:
>>> Running: hg root
>>> Running: hg showconfig
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')()
File
"C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\commands\main.py",
line 134, in main
command.run_from_argv([RB_MAIN, command_name] + args)
File
"C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\commands\__init__.py",
line 422, in run_from_argv
exit_code = self.main(*args) or 0
File
"C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\commands\post.py",
line 695, in main
client_name=self.options.repository_type)
File
"C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\commands\__init__.py",
line 450, in initialize_scm_tool
client_name=client_name)
File
"C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\clients\__init__.py",
line 298, in scan_usable_client
repository_info = tool.get_repository_info()
File
"C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\clients\mercurial.py",
line 120, in get_repository_info
self._init()
File
"C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\clients\mercurial.py",
line 93, in _init
self._load_hgrc()
File
"C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\clients\mercurial.py",
line 311, in _load_hgrc
key, value = line.split('=', 1)
ValueError: need more than 1 value to unpack
--
Bruce
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.