Bug 947596 - Install RBTools from Git; r=mconley

RBTools as released on PyPI has a number of bugs and deficiencies with
the Mercurial implementation. These have been fixed in an unreleased
version of RBTools.

Until RBTools with the desired patches is released to PyPI, we will
install RBTools direct from its source repository.

DONTBUILD (NPOTB)
This commit is contained in:
Gregory Szorc
2014-01-24 13:06:30 -08:00
parent afc8d0aeba
commit 315a8f97e1

View File

@@ -301,7 +301,13 @@ class ReviewboardToolsProvider(MachCommandBase):
args = ['help']
self._activate_virtualenv()
self.virtualenv_manager.install_pip_package('RBTools')
# We install RBTools from source control because the currently released
# version doesn't have patches that make Mercurial usable in many
# scenarios.
commit = '416a728292dff3f279e5d695f48a29749b51b77a'
self.virtualenv_manager.install_pip_package(
'git+https://github.com/reviewboard/rbtools.git@%s#egg=RBTools' %
commit)
from rbtools.commands.main import main