mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
7fa918cefd
Summary: Also change the internal API so it no longer accepts the "heads" argument. Reviewed By: ryanmce Differential Revision: D6745865 fbshipit-source-id: 368742be49b192f7630421003552d0a10eb0b76d
32 lines
646 B
Perl
32 lines
646 B
Perl
$ cat >> $HGRCPATH << EOF
|
|
> [extensions]
|
|
> rage=
|
|
> 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
|
|
|
|
Test with shared repo
|
|
$ cat >> $HGRCPATH << EOF
|
|
> [extensions]
|
|
> share=
|
|
> EOF
|
|
$ cd ..
|
|
$ hg share repo repo2
|
|
updating working directory
|
|
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
|
|
|
Create fake infinitepush backup state to be collected by rage
|
|
|
|
$ echo "fakestate" > repo/.hg/infinitepushbackupstate
|
|
$ cd repo2
|
|
$ hg rage --preview | grep -o 'fakestate'
|
|
fakestate
|
|
|