mirror of
https://github.com/facebook/sapling.git
synced 2024-10-16 19:57:18 +03:00
1cde63d99c
Summary: Now they are unnecessary since `run-tests.py` will set up `PYTONPATH` correctly. Differential Revision: D6865042 fbshipit-source-id: ca95314f725968e14349a9d916434aa832c596f9
26 lines
473 B
Perl
26 lines
473 B
Perl
|
|
$ cat >> $HGRCPATH << EOF
|
|
> [extensions]
|
|
> fastmanifest=
|
|
> EOF
|
|
|
|
$ hg init repo
|
|
$ cd repo
|
|
|
|
a situation that linkrev needs to be adjusted:
|
|
|
|
$ echo 1 > a
|
|
$ hg commit -A a -m 1
|
|
$ echo 2 > a
|
|
$ hg commit -m 2
|
|
$ hg up 0 -q
|
|
$ echo 2 > a
|
|
$ hg commit -m '2 again' -q
|
|
|
|
annotate calls "introrev", which calls "_adjustlinkrev". in this case,
|
|
"_adjustlinkrev" will fallback to the slow path that needs to call
|
|
manifestctx."readfast":
|
|
|
|
$ hg annotate a
|
|
2: 2
|