rfk / git-remote-hg Goto Github PK
View Code? Open in Web Editor NEWaccess hg repositories as git remotes
Home Page: http://pypi.python.org/pypi/git-remote-hg/
License: MIT License
access hg repositories as git remotes
Home Page: http://pypi.python.org/pypi/git-remote-hg/
License: MIT License
Just for the record, and in case somebody looks: Some months ago, I spent considerable effort to "hunt down" that native remote-hg, and discovered that it exists in a usable state, albeit quite hidden in the msysgit repository. I extracted a version of this, which can be found here:
https://github.com/fingolfin/git/tree/remote-hg
But note that to work properly, this one also needs a patch in the "git" binary itself, so you cannot just use it with a stock version of git! Unfortunately, those patch currently don't look as if they might be merged into git, but perhaps this will change. Anyway, I summarized my findings here:
https://github.com/msysgit/msysgit/wiki/Guide-to-git-remote-hg
Since then, another "native" remote-hg was created, which does not require git to be patched (though with some patches to git it works better, these are currently being reviewed). You can find it here:
https://github.com/felipec/git/tree/fc/remote/hg
And it has been working well for me for some time, though I did not yet test it really extensively.
I created a source package yagh that bundles the core components of git-hg, git-hg-again, and git-remote-hg, together with some improvements and some changes to make it easier to compare the different methods to each other. See this StackOverflow entry or the yagh README for details. This is still a work in progress; I will add a Makefile and some more comparisons later. I hope this is all agreeable to you and the authors of the other two packages. Perhaps you might also find some of the tweaks I made to your package useful. In any case, thanks very much (to all three of you) for your work on these tools.
Hi!
I have created a branch in the git side (with git checkout -b
) but when I tried to push it to the mercurial repository, it seems that it didn't have the effect that I expected:
$ git push bitbucket fix/sinl
searching for changes
no changes found
searching for changes
To hg::ssh://[email protected]/vbernat/cffi
* [new branch] fix/sinl -> fix/sinl
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1355 changesets with 690 changes to 24 files (+1 heads)
But Bitbucket seems to think that the branch does not exist. It appears in the drop down menu but when I select it, it says it doesn't exist. It doesn't appear in the branch tab and is not available for a pull request.
The README says that pushing several branches is broken. I have pushed only one, but maybe you meaned pushing other branches than master?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.