git icon indicating copy to clipboard operation
git copied to clipboard

removing hg remote leaves old refs around

Open joernhees opened this issue 12 years ago • 3 comments

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

joernhees avatar Jul 21 '13 16:07 joernhees

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.

felipec avatar Jul 25 '13 19:07 felipec

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 avatar Jan 09 '14 20:01 dylex

@dylex Yes, it's the same.

felipec avatar Jan 10 '14 00:01 felipec