dusty-phillips / gitifyhg

Tools for using git as a client to mercurial repositories
GNU General Public License v3.0
62 stars 17 forks source link

Remote names #29

Closed fingolfin closed 11 years ago

fingolfin commented 11 years ago

This addresses issue #14 by storing the local hg clone under .git/hg/<SHA1-of-remote-URL>/clone instead of .git/hg/REMOTENAME/clone. The second commit likewise adjust the notes code.

After some testing, it seems that no transition code is required (at least for everything besides notes), because gitifyhg will just behave as if this was a fresh clone, and recreate the local clone.

The notes are a different story of course. But since they are still incomplete and have been in only for a few minutes, I figured this was nothing to worry about.