git
git copied to clipboard
removing hg remote leaves old refs around
Hi,
thanks for the awesome helpers.
It seems when deleting a hg remote X a lot of old references like "refs/hg/X/{bookmarks,branches}/*" stay around, meaning you'll still see them in git log --graph --all --decorate --oneline.
I'm not sure this is intended, but it's not very convenient. Just in case someone else runs into this: i got rid of them with git update-ref -d ref/hg/X/...
Indeed, but there isn't much we can do at the moment. We would need to update Git's remote helper interface, and that's unlikely going to happen in upstream Git.
I just ran into a similar problem using "git remote rename" on an hg:: remote where .git/hg still had the old remote name. I presume this is a similar limitation?
@dylex Yes, it's the same.