schacon / hg-git

mercurial to git bridge, pushed to directly from the hg-git plugin in Hg
GNU General Public License v2.0
621 stars 71 forks source link

hg-git does not work for private repos #340

Open bsobhani opened 4 years ago

bsobhani commented 4 years ago

It looks like hg-git used to work for private repos but something got updated in some dependency and now it no longer works. I have been trying to install an old version by doing "pip install -I hg-git==0.7.0". But the problem with this is that the dependency is listed as "dulwich>=0.9.7" - since it is a greater than or equal to sign (as opposed to just an equal sign), it installs the newest version of dulwich (0.19.14), which is what caused the problem in the first place.

I have tried lots of different things but have not been able to get an old version of hg-git working. Is it worth it for software to depend on the latest and newest dependencies if it causes basic functionality (like authentication for private repos) to break?