2017-02-10 05:02:52 +03:00
|
|
|
$ PYTHONPATH=$TESTDIR/..:$PYTHONPATH
|
|
|
|
$ export PYTHONPATH
|
|
|
|
|
2014-10-24 04:16:07 +04:00
|
|
|
$ . "$TESTDIR/library.sh"
|
|
|
|
|
|
|
|
$ hginit master
|
|
|
|
$ cd master
|
|
|
|
$ cat >> .hg/hgrc <<EOF
|
|
|
|
> [remotefilelog]
|
|
|
|
> server=True
|
|
|
|
> EOF
|
|
|
|
$ echo x > x
|
|
|
|
$ hg commit -qAm x
|
|
|
|
$ echo y >> x
|
|
|
|
$ hg commit -qAm y
|
|
|
|
$ echo z >> x
|
|
|
|
$ hg commit -qAm z
|
2015-01-09 23:24:21 +03:00
|
|
|
$ echo a > a
|
|
|
|
$ hg commit -qAm a
|
2014-10-24 04:16:07 +04:00
|
|
|
|
|
|
|
$ cd ..
|
|
|
|
|
|
|
|
$ hgcloneshallow ssh://user@dummy/master shallow -q
|
2015-01-09 23:24:21 +03:00
|
|
|
2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over *s (glob)
|
2014-10-24 04:16:07 +04:00
|
|
|
$ cd shallow
|
|
|
|
|
|
|
|
Test blame
|
|
|
|
|
|
|
|
$ hg blame x
|
|
|
|
0: x
|
|
|
|
1: y
|
|
|
|
2: z
|
2014-11-08 05:17:39 +03:00
|
|
|
2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over *s (glob)
|