Questions tagged [hg-git]

A tool for communicating changes between mercurial and git.

hg-git is a tool for communicating changes between hg and git.

If you want to use hg to communicate with GitHub, then this is the tool for you.

78 questions
60
votes
11 answers

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

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…
Joshua Flanagan
  • 8,527
  • 2
  • 31
  • 40
39
votes
7 answers

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

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/ However, each time…
Stofke
  • 2,928
  • 2
  • 21
  • 28
22
votes
3 answers

No changes are pushed when using hg-git

I'm trying to get the hg-git extension working under Windows and after hours of fiddling, I finally seem to have it working. However, nothing shows up in my git repository even though the output of hg push reads: importing Hg objects into…
James
  • 6,471
  • 11
  • 59
  • 86
18
votes
3 answers

How do I relate an existing Mercurial and git repositories using hg-git?

This is a pretty esoteric question, so just to make clear here from the start: I am not talking about converting from svn to git, git to mercurial, or mercurial to git. I am talking about a complex situation that has arisen from taking advantage of…
danielpunkass
  • 17,527
  • 4
  • 24
  • 38
17
votes
4 answers

Adding a Git subrepository to Mercurial

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…
summatix
  • 577
  • 4
  • 9
16
votes
3 answers

Installing Hg-Git on Windows 7 64bit

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…
Byakugan
  • 981
  • 4
  • 15
  • 34
13
votes
1 answer

hg-git push silently fails

I'm trying to use hg push to a git repository, but it silently fails. I found a single post on the mailing list and a registered hg-git issue, but both are about half a year old without much activity. So I started to think I…
Adam Schmideg
  • 10,590
  • 10
  • 53
  • 83
13
votes
4 answers

Cloning github repo with hggit - abort: repository not found

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…
highBandWidth
  • 16,751
  • 20
  • 84
  • 131
11
votes
2 answers

hg-git: delete remote branch?

Is it possible to delete a remote branch with hg-git? I can delete the tag locally (hg bm -d old-branch), but it's not obvious how to tell the git server to do the same.
David Wolever
  • 148,955
  • 89
  • 346
  • 502
9
votes
1 answer

Mercurial Hg-Git: Clone from a local directory?

I have a local Git repository on my computer that I am trying to clone with Hg-Git. It works fine for me when I'm cloning from a git:// type path, but not if I try to clone from local directories. Here is an example... hg clone…
jocull
  • 20,008
  • 22
  • 105
  • 149
9
votes
2 answers

hg-git clone from Github gives "abort: repository is unrelated"

I have a project whose main (Mercurial) repository is on SourceForge, but there are clones on Bitbucket (Mercurial) and Github (Git). Now I have been using hg-git to push the Mercurial repository to Github and from what I understand of the…
0xC0000022L
  • 20,597
  • 9
  • 86
  • 152
8
votes
1 answer

TortoiseHg (Mercurial) can not find hggit extension

I'm trying to get the hg-git extension to work with TortoiseHg (v5.8 on Win10). I have enabled the "hggit" extension in the settings. But when I try to push to github I get an error: *** failed to import extension hggit: No module named…
JacobP
  • 561
  • 3
  • 21
8
votes
1 answer

Hg-git stopped working for multiple branches

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…
Alex
  • 5,510
  • 8
  • 35
  • 54
7
votes
3 answers

using git but pushing to mercurial?

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…
ryanzec
  • 27,284
  • 38
  • 112
  • 169
7
votes
2 answers

HgGit: "invalid-email-address" at GitHub

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…
aplavin
  • 2,199
  • 5
  • 32
  • 53
1
2 3 4 5 6