You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.
My environment:
hg-git 0.2.6
dulwich 0.7.1
git 1.7.4.4
hg 1.8.2
Mac OS X 10.6.7, Xcode 4
Observed:
When I use hg-git to clone any GitHub repo that doesn't belong to me, I get the GitHub project directory instead of the git repo.
I get the correct behavior from hg-git when cloning repos on GitHub that I have created, which were all natively Mercurial repos previously pushed to GitHub via hg-git.
It appears that hg-git only has problems with certain GitHub repos. I was able to successfully clone git://github.com/schacon/hg-git.git with both git and hg-git.
To me it looks like that this happens on projects which use GitHub Pages, probably also only when the pages were the last thing updated.
Try executing $ hg update master.
Hmm. I couldn't verify whether $ hg update master would work. The gh-unit repo came down fine this time on a fresh hg clone attempt. It looks like that repo's master branch was the most recently updated.
I'll try this next time I run into the problem and update the issue.
I had this problem happen with the Luggage repo using both Mercurial 1.9.1 and Mercurial 2.1.2 on Mac OS X 10.6.8.
$ hg clone git://github.com/unixorn/luggage.git
I made multiple clone attempts and it always resulted in the local repo showing the GitHub project rather than the source. I found this issue and tried $ hg update master and it appeared to work (had reinstalled Hg 1.9.1 beforehand).
I had also had problems using $ hg fetch to get the latest commits from the GH source repo.
$ hg fetch
abort: outstanding uncommitted merge
To my knowledge, I hadn't actually had any changes to merge. My local repo was showing that all of the source files were modified when I checked after the fetch with $ hg status.
My environment:
hg-git 0.2.6
dulwich 0.7.1
git 1.7.4.4
hg 1.8.2
Mac OS X 10.6.7, Xcode 4
Observed:
When I use hg-git to clone any GitHub repo that doesn't belong to me, I get the GitHub project directory instead of the git repo.
I get the correct behavior from hg-git when cloning repos on GitHub that I have created, which were all natively Mercurial repos previously pushed to GitHub via hg-git.
With hg
With git
The text was updated successfully, but these errors were encountered: