Mercurial > hg-git
diff tests/test-clone.t @ 1078:a70c1f6caead
fetch: mark remote HEAD as public phase
To help improve the speed Mercurial operations, we shouldn't leave the whole
repository in the draft phase. The only hueristic git has for 'public' is
remote HEAD. Therefore, if remote HEAD exists then we use it to mark the
corresponding local commit as public.
For now, we'll put this behind a config flag for easier rollback.
author | Sean Farley <sean@farley.io> |
---|---|
date | Fri, 15 May 2015 15:02:24 -0700 |
parents | 3246f2fab625 |
children | e4fb9229417a |
line wrap: on
line diff
--- a/tests/test-clone.t Wed Nov 01 20:24:12 2017 -0500 +++ b/tests/test-clone.t Fri May 15 15:02:24 2015 -0700 @@ -32,6 +32,10 @@ date: Mon Jan 01 00:00:10 2007 +0000 summary: add alpha +Make sure this is still draft since we didn't pull remote's HEAD + $ hg -R hgrepo-a phase -r alpha + 0: draft + clone a branch $ hg clone -r beta gitrepo hgrepo-b | grep -v '^updating' importing git objects into hg