mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
6c09d4ce19
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
14 lines
261 B
Perl
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
|