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.
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.