mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
66d79c86c8
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
31 lines
582 B
Perl
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
|
|
|