Closed lebedov closed 10 years ago
It is caused by the move of the hgext.bookmarks extension to Mercurial core. In the move they removed bookmarks.bookmark. While hg-git is aware of the move and uses mercurial.bookmarks if possible, it is not aware of that bookmarks.bookmark got removed and still tries to use it.
@dontcare4free, I've just pushed commits to github successfully after running hg bookmark master
on tip.
My suggestion is to automatically add missing (but required) bookmarks like master
before pushing it to git. @schacon and/or @durin42, what do you think?
Is there a workaround to allow clones? I want to check out some code from github and I get the error. I do not need to commit anything to this repo.
The workaround is to run hg bookmark master
like pointed out above...
ms4spy,
I'm not sure I understand.
"I've just pushed commits to github successfully after running hg bookmark master on tip."
I am NOT pushing or committing. I want to pull from an opensource project that is not mine. How do I bookmark master when I can't even clone it?
@tinjaw, that was me who ran into same issue but other way. Commenting before reading whole issue description was bad idea.
"Commenting before reading whole issue description was bad idea." << I do not understand.
Yours is another issue, not related to this one, please file a new one...
Using mercurial 1.8.1, git 1.7.3.4, hg-git 0.2.6, dulwich 0.7.0, and python 2.6.5, I came across the following way to cause mercurial to throw an AttributeError: