sapling/tests/test-hgsql-hggit.t
Mark Thomas 66d79c86c8 pull: remove postincoming advice
Summary:
The postincoming checks prints out advice of the following forms:

* `(run 'hg heads' to see heads)`
* `(run 'hg heads' to see heads, 'hg merge' to merge)`
* `(run 'hg heads .' to see heads, 'hg merge' to merge)`
* `(run 'hg update' to get a working copy)`

This advice is no longer useful, so remove it.

Reviewed By: DurhamG, farnz

Differential Revision: D15317185

fbshipit-source-id: 50ba576406c96715fa058399da53462be9b7a3bf
2019-05-20 06:19:49 -07:00

31 lines
582 B
Perl

$ . "$RUNTESTDIR/hgsql/library.sh"
$ . "$RUNTESTDIR/hggit/testutil"
$ shorttraceback
$ enable lz4revlog
$ git init a-git
Initialized empty Git repository in $TESTTMP/a-git/.git/
$ cd a-git
Make "a" compressable
>>> open("a", "w").write("0\n" * 5000)
$ git add a
$ git commit -m a
[master (root-commit) *] a (glob)
1 file changed, 5000 insertions(+)
create mode 100644 a
Setup an hgsql repo
$ cd $TESTTMP
$ initserver a-hg a-hg
$ cd a-hg
Pull from git
$ hg pull $TESTTMP/a-git
pulling from $TESTTMP/a-git
importing git objects into hg