sapling/tests/test-rage.t
Stanislau Hlebik 6c09d4ce19 rage: add a hack to make rage work on osx
Summary: Add a config option to specify rpm binary

Test Plan: arc unit

Reviewers: #mercurial, quark, ikostia, luk

Reviewed By: ikostia, luk

Subscribers: luk, mjpieters, medson, #sourcecontrol

Differential Revision: https://phabricator.intern.facebook.com/D5255174

Tasks: 19361425

Signature: t1:5255174:1497518216:d78a66e27a1073921f06d9dd0e7036bab3e4010a
2017-06-15 04:20:52 -07:00

14 lines
261 B
Perl

$ cat >> $HGRCPATH << EOF
> [extensions]
> rage=$TESTDIR/../hgext3rd/rage.py
> EOF
$ hg init repo
$ cd repo
#if osx
$ echo "[rage]" >> .hg/hgrc
$ echo "rpmbin = /bin/rpm" >> .hg/hgrc
#endif
$ hg rage --preview | grep -o 'blackbox'
blackbox