On Mon, Sep 2, 2013 at 7:37 AM, Merlijn van Deen valhallasw@arctus.nlwrote:
Hey Sk!d,
I think this is related to our source switch for httplib2 (from a github clone to our own gerrit repo). I can think of two things to try;
- check .git/config to see if externals/httplib2 correctly has
https://gerrit.wikimedia.org/r/pywikibot/externals/httplib2.git as URL git submodule sync should do that for you (why doesn't update --init also do that for you? Silly git)
Thank you no it was pointing to another url. But "git submodule sync" did fix it. It seems everything ok now. I had to do this for my branches, too. I hope everything is working now.
Sk!d
2) the less subtle way: remove the submodule entries from .git/config,
remove the directories under .git/modules and under externals/httplib2 and scripts/i18n.
Sorry for the inconvenience - but at least we're not going to switch repositories again ;-)
Merlijn
On 2 September 2013 00:06, swuensch swuensch@gmail.com wrote:
Hi, I have a problem with git since one week. I get the following error message:
[root@server core]# git pullall Already up-to-date. fatal: reference is not a tree: e58e6309364dc0a692ee12c1678ab3429cd06cab Unable to checkout 'e58e6309364dc0a692ee12c1678ab3429cd06cab' in submodule path 'externals/httplib2'
I use core. I am now unable to merge my own branch with the master branch. Legoktm tried to help me on irc. If I try "git reset --hard" and then "git submodule update --init" i get the same error message. " rm -rf externals/httplib2" does not help neither.
I hope someone can help me. You can also contact me on irc. Could this be a problem because I did change the directory owner from root to a user to push as a user and not as a root from my home pc? (I am using the commands as root via ssh.)
Sk!d
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l