Mercurial > hg-git
diff README.md @ 530:1ec00e2805fb
docs: update to correctly reflect that local git repositories are supported
author | David M. Carr <david@carrclan.us> |
---|---|
date | Thu, 13 Sep 2012 20:57:37 -0400 |
parents | 8ede232d3c70 |
children | f0e774680e70 |
line wrap: on
line diff
--- a/README.md Thu Sep 13 20:49:45 2012 -0400 +++ b/README.md Thu Sep 13 20:57:37 2012 -0400 @@ -74,15 +74,15 @@ That will pull down any commits that have been pushed to the server in the meantime and give you a new head that you can merge in. -Hg-Git can also be used to convert a Mercurial repository to Git. As -Dulwich doesn't support local repositories yet, the easiest way is to -setup up a local SSH server. Then use the following commands to -convert the repository (it assumes your running this in $HOME). +Hg-Git can also be used to convert a Mercurial repository to Git. You can use +a local repository or a remote repository accessed via SSH, HTTP or HTTPS. Use +the following commands to convert the repository (it assumes your running this +in $HOME). $ mkdir git-repo; cd git-repo; git init; cd .. $ cd hg-repo $ hg bookmarks hg - $ hg push git+ssh://localhost:git-repo + $ hg push ../git-repo The hg bookmark is necessary to prevent problems as otherwise hg-git pushes to the currently checked out branch confusing Git. This will