Skip to content
Snippets Groups Projects
Commit 75602974d0eb authored by Dan Villiom Podlaski Christiansen's avatar Dan Villiom Podlaski Christiansen
Browse files

tests: add an explicit test for cloning HEAD

parent adeb42563d4d
No related branches found
No related tags found
1 merge request!83Fix tests with latest Mercurial
......@@ -107,6 +107,19 @@
git commit map cleaned
$ rm -rf hgrepo-base hgrepo-shared
test cloning HEAD
$ cd gitrepo
$ git checkout -q master
$ cd ..
$ hg clone gitrepo hgrepo-2
importing git objects into hg
updating to bookmark master (hg57 !)
1 files updated, 0 files merged, 0 files removed, 0 files unresolved (hg57 !)
updating to branch default (no-hg57 !)
2 files updated, 0 files merged, 0 files removed, 0 files unresolved (no-hg57 !)
$ rm -rf hgrepo-2
clone empty repo
$ git init empty
Initialized empty Git repository in $TESTTMP/empty/.git/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment