Skip to main content

Questions tagged [hg-git]

A tool for communicating changes between mercurial and git.

1 vote
1 answer
154 views

Error converting Hg repo to Git: 'no match found'

I'm trying to follow various other answers for converting .hg to .git. When I run hg gexport --debug I get an error on a revision saying abort: data/web/Server/Properties/PublishProfiles/Web Deploy....
Brad's user avatar
  • 12.1k
1 vote
1 answer
116 views

Convert mercurial branches into bookmarks while migrating to git

I am trying to migrate a mercurial repo to git while using hg-git. I follow the tutorial here and I stumbled on an issue in the migration step when I push to the git repo. Some branches (who where ...
Zavulon's user avatar
  • 121
2 votes
1 answer
65 views

delete a remote branch with hg-git

I use mercurial with hg-git extension and I can't delete a remote github branch (bookmark) with it. I read that it was not possible with this extension, is there any other mercurial extension or ...
Karichi's user avatar
  • 65
1 vote
1 answer
115 views

What parts of the hg-git metadata state do I need to back up in order to start over?

This is currently a purely theoretical question (related to this one), but let me first give the background. Whenever you run hg gexport the initial hash will vary from invocation to invocation. This ...
0xC0000022L's user avatar
  • 21.3k
3 votes
2 answers
226 views

Interoperability of Mercurial 6 with other VCSes

Some years ago, Mercurial | TortoiseHG could exchange data bidirectionally easy with at least 2 Big Brothers: Subversion, using HGSubversion Git, using HG-Git Current (6.0 versions of family) state -...
Lazy Badger's user avatar
  • 96.4k
8 votes
1 answer
2k views

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: *** ...
JacobP's user avatar
  • 591
5 votes
2 answers
1k views

How to check if the installed Mercurial (hg) is using Python2 or Python3?

I wanted to install the hg-git extension with python pip but I'm not sure if I should use pip (Python2) or pip3 (Python3). hg version gives this: $ hg version Mercurial Distributed SCM (version 4.8.2) ...
pynexj's user avatar
  • 20.3k
1 vote
1 answer
452 views

HG-Git: AttributeError: 'bytes' object has no attribute 'encode'

I'm trying to clone a git repository with mercurial and hg-git, but an AttributeError keeps coming up. When I run hg clone git://github.com/michaelfm1211/simpleserve, the output I get is this: ...
Michael M.'s user avatar
  • 10.8k
1 vote
1 answer
104 views

How to map hg changeset with git changeset after converting?

I converted my repositories from Mercurial to Git (pulled from Bitbucket(hg, Mercurial), pushed to GitLab (git)), I found that after converting from hg to git, in GitLab now, the changeset number has ...
Jennifer Zou's user avatar
2 votes
2 answers
135 views

How to solve ssh crash when pushing from mercurial?

I'm trying to help a friend to migrate a mercurial repo to a git one. Unfortunately i never worked with this... The configuration is : -Win 2012 server R2 -Mercurial 5.3.1 -Python 2.7 -dulwich 0.19....
Garbez François's user avatar
2 votes
2 answers
219 views

How do I ignore a mercurial branch with spaces in it?

I am trying to use hggit to use mercurial as a client for a git repository. I can't push to the git repository because some genius created a branch called GTS 170528 (note the space). When pushing ...
Nick Hodges's user avatar
  • 17.1k
2 votes
1 answer
239 views

Why does hg gexport not work with the --cwd parameter?

Question title is pretty much the question. Here's a look at what I get: I am trying to export a mercurial repository to git, but to a different directory. hg gexport works just fine without the --...
Nick Hodges's user avatar
  • 17.1k
1 vote
1 answer
455 views

How do I push all my mercurial branches and tags using the hggit extension? [duplicate]

I am trying to convert my mercurial repository to git using the hggit extension. As far as I can tell, it pushes everything over into one branch and one branch only. How do I push over all my ...
Nick Hodges's user avatar
  • 17.1k
0 votes
2 answers
307 views

Why is my git repository empty after using hggit to push my mercurial repository to it?

We have a very large Mercurial repository - about 11GB with approximately 130,000 commits. I am trying to convert it to git using the hggit extension of Mercurial, and I am having a strange ...
Nick Hodges's user avatar
  • 17.1k
1 vote
2 answers
260 views

How can I remove or fix a Mercurial tag that starts with a double quote?

I am trying to use hggit to migrate a very large repository from Mercurial to Git. It is failing because we have, in the bowels of our hg repository, a tag named precisely like this: "_5.3.0.307 ...
Nick Hodges's user avatar
  • 17.1k

15 30 50 per page
1
2 3 4 5 6