sapling/tests/test-fb-hgext-remoteid-print.t
Jun Wu 1cde63d99c codemod: drop hacks changing PYTHONPATH in tests
Summary:
Now they are unnecessary since `run-tests.py` will set up `PYTONPATH`
correctly.

Differential Revision: D6865042

fbshipit-source-id: ca95314f725968e14349a9d916434aa832c596f9
2018-04-13 21:51:00 -07:00

34 lines
789 B
Perl

$ . "$TESTDIR/library.sh"
# create a repo to behave as the server
$ hginit server
$ cd server
$ echo x > x
$ hg commit -qAm x
# enable the remoteid extension
$ cat >> .hg/hgrc <<EOF
> [extensions]
> remoteid=
> [remotefilelog]
> server=True
> EOF
# clone the server repo - should display "hostname: ..."
$ cd ..
$ hgcloneshallow ssh://user@dummy/server client
remote: hostname: * (glob)
streaming all changes
2 files to transfer, 227 bytes of data
transferred 227 bytes in * seconds (*/sec) (glob)
searching for changes
no changes found
updating to branch default
remote: hostname: * (glob)
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
1 files fetched over 1 fetches - (1 misses, 0.00% hit ratio) over *s (glob)