mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
c41d432bb1
Summary: Extensions should belong there. Test Plan: Updated existing tests Reviewers: #mercurial, rmcelroy Reviewed By: rmcelroy Subscribers: rmcelroy, mjpieters Differential Revision: https://phabricator.intern.facebook.com/D5113146 Signature: t1:5113146:1495562344:47bae69e6b22c14b32a8a9511878e88e89759d8f
37 lines
442 B
Perl
37 lines
442 B
Perl
$ PYTHONPATH=$TESTDIR/..:$PYTHONPATH
|
|
$ export PYTHONPATH
|
|
|
|
$ cat >> $HGRCPATH << EOF
|
|
> [extensions]
|
|
> fastannotate=$TESTDIR/../hgext3rd/fastannotate
|
|
> EOF
|
|
|
|
$ hg init repo
|
|
$ cd repo
|
|
|
|
changes to whitespaces
|
|
|
|
$ cat >> a << EOF
|
|
> 1
|
|
>
|
|
>
|
|
> 2
|
|
> EOF
|
|
$ hg commit -qAm '1'
|
|
$ cat > a << EOF
|
|
> 1
|
|
>
|
|
> 2
|
|
>
|
|
>
|
|
> 3
|
|
> EOF
|
|
$ hg commit -m 2
|
|
$ hg fastannotate -wB a
|
|
0: 1
|
|
0:
|
|
1: 2
|
|
0:
|
|
1:
|
|
1: 3
|