mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
ae3a6e0052
Summary: Fix all the fastannotate tests. Test Plan: - run tests, see them pass! Reviewers: #sourcecontrol Differential Revision: https://phabricator.intern.facebook.com/D6683772
37 lines
409 B
Perl
37 lines
409 B
Perl
$ PYTHONPATH=$TESTDIR/..:$PYTHONPATH
|
|
$ export PYTHONPATH
|
|
|
|
$ cat >> $HGRCPATH << EOF
|
|
> [extensions]
|
|
> 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
|