hg-git

using git but pushing to mercurial?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-05 07:42:30
I have a new job however they use mercurial as their version control and most of my experience is with git. I try to learn mercurial but the way it does branching (even with extensions like bookmarks) just make absolutely no sense to me. Does anyone know of a way to use git locally but push to mercurial? I have tried the hg-git plugin and have gotten to the point where I can commit in git and push those changes to a remote mercurial repo however the issue I am running into is that no matter what tutorial I have found, I can't seem to pull new changes from mercurial back into git (which makes

HgGit: “invalid-email-address” at GitHub

岁酱吖の 提交于 2019-12-05 05:26:52
I started to use HgGit extension for mercurial to have copy of repository at GitHub. Almost everything is working well, but in commits information at GitHub I see invalid-email-address (author) instead of my username. Is there a way to show username correctly in this case? Joel B Fant A username in Mercurial is usually of the form: Name <email@domain.com> Git also is usually set up with a name and an e-mail address for the user. You probably need to specify an e-mail address in your username in your Mercurial config so that the username in the commits works correctly on github . This username

Cloning github repo with hggit

谁说胖子不能爱 提交于 2019-12-04 23:40:49
I am trying to clone some github repos locally with hggit. I am following tutorial instructions to do $ hg clone git://github.com/schacon/hg-git.git abort: repository git://github.com/schacon/hg-git.git not found! $ hg clone git+ssh://git@github.com/schacon/hg-git.git abort: repository git+ssh://git@github.com/schacon/hg-git.git not found! I know I have hggit because the following works $ python -c "import hggit" $ head -n1 `which hg` #!/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python $ /opt/local/Library/Frameworks/Python.framework

How to link a folder with an existing Heroku app with mercurial

两盒软妹~` 提交于 2019-12-04 10:22:51
I have an existing Django app on Bitbucket and I'm able to deploy to Heroku whith hg-git . Whenever i want to run some heroku command inside my app folder i get the following errors: $ heroku ps ! No app specified. ! Run this command from an app folder or specify which app to use with --app <app name> $ heroku logs ! No app specified. ! Run this command from an app folder or specify which app to use with --app <app name> etc. Current workaround is to specify the app name: heroku ps --app <app name> but i'm looking for a way to link my repository name to the remote Heroku app name like how it's

Mercurial error *** failed to import extension hggit: No module named hggit

风格不统一 提交于 2019-12-04 09:57:14
问题 I installed Mercurial on my Mac, and it's wonderful. For me it's easier to grasp than Git so I wanted to use it to manage git-repositories. Therefore I installed hg-git with the following instructions: http://hg-git.github.com/ But each time I issue a hg command it returns this error message: Mercurial error *** failed to import extension hggit: No module named hggit I'd might be important to note that I'm on a Mac not a Windows PC. Does any know how to resolve this 回答1: After installing hg

Adding a Git subrepository to Mercurial

大憨熊 提交于 2019-12-04 09:03:07
问题 I've been trying to set up a project using bitbucket which has project dependencies hosted on github. Using the Hg-Git Mercurial plugin I am able to almost get there. But when it comes time to push, things become troublesome. The documentation for Mercurial subrepositories states: 2.4 Push Mercurial will automatically attempt to first push all subrepos of the current repository when you push. This will ensure new changesets in subrepos are available when referenced by top-level repositories.

Hg-git stopped working for multiple branches

心已入冬 提交于 2019-12-03 14:42:14
I keep the main repo on mercurial but made a clone with hg-git for git lovers. The problem is that in the mercurial repo I went back to a previous commit, created a new anonymous branch and closed the old one. (Reason: postpone development of a feature) After that I saw that hg-git stopped working. I tried even to force the commit but still not succeeded. Alex Ok...finally founded the answer on another hg-git related question So it seems that you have to update the "master" bookmark to current branch. hg bookmark -f master 来源: https://stackoverflow.com/questions/14175561/hg-git-stopped-working

Installing Hg-Git on Windows 7 64bit

前提是你 提交于 2019-12-03 11:30:55
问题 I am trying for a while installing Hg-Git addon to my Windows 7 Operating system I have crossed several difficulties like installing Python and other utilities described in this blog. I had even after this manual problems and could not install this addon because of errors described in this log. I searched google and I have found this manual Now i have these errors showed in this log. Any help with these errors? Thank you for your help. 回答1: In case it helps anyone, I have Windows 7 64bit and

Mercurial error *** failed to import extension hggit: No module named hggit

独自空忆成欢 提交于 2019-12-03 04:25:32
I installed Mercurial on my Mac, and it's wonderful. For me it's easier to grasp than Git so I wanted to use it to manage git-repositories. Therefore I installed hg-git with the following instructions: http://hg-git.github.com/ But each time I issue a hg command it returns this error message: Mercurial error *** failed to import extension hggit: No module named hggit I'd might be important to note that I'm on a Mac not a Windows PC. Does any know how to resolve this After installing hg-git with the following command: easy_install hg-git Does the following work? python -c "import hggit" What

How do I correctly install dulwich to get hg-git working on Windows?

浪子不回头ぞ 提交于 2019-12-03 03:25:49
问题 I'm trying to use the hg-git Mercurial extension on Windows (Windows 7 64-bit, to be specific). I have Mercurial and Git installed. I have Python 2.5 (32-bit) installed. I followed the instructions on http://hg-git.github.com/ to install the extension. The initial easy_install failed because it was unable to compile dulwich without Visual Studio 2003. I installed dulwich manually by: git clone git://git.samba.org/jelmer/dulwich.git cd dulwich c:\Python25\python setup.py --pure install Now