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
3
votes
1 answer

Hg Git Pull Causes Too Many Open Files Error

I have a Mercurial repository that tracks a git repository. It was working ok on Windows 10. Now I moved it to a Mac as a directory, then ran hg reset -Ca just to clean it up. Now I am trying to run hg pull It causes an error like this: % hg…
EvgeniySharapov
  • 3,078
  • 3
  • 27
  • 38
3
votes
2 answers

Commiting Mercurial (Hg) branch to GitHub

I have a little project project called MvcOpenId. I host the source for this on both Codeplex and GitHub. Localy I'm using Mercurial (Hg) for version control and then with the hg-git plugin I'm pushing to both online repositories. This has been…
gligoran
  • 3,267
  • 3
  • 32
  • 47
3
votes
1 answer

One way hg to git sync

I have a mercurial repository which contains a monolith project I am trying to gradually split. While doing those, I figured I would convert the new sub projects to git hence the one way sync. A few more details about what I am doing: the hg repo…
rjso
  • 1,314
  • 10
  • 19
3
votes
1 answer

"abort: The system cannot find the file specified" in Mercurial

I have a large (~700MB) Mercurial repository. I can clone the repo fine without updating (and also it's totally browsable on Bitbucket, where it's hosted) but I can't update the working directory to the latest changeset because I get the following…
Piedone
  • 2,693
  • 2
  • 24
  • 43
3
votes
1 answer

How to push to a different branch with hg-git?

While I was working on my Git repository clone, the remote content changed: $ hg push ... abort: refs/heads/master changed on the server, please pull and merge before pushing Instead of merging, I want to push commits from my local copy to…
anatoly techtonik
  • 19,847
  • 9
  • 124
  • 140
3
votes
1 answer

Pull to Hg repo from Git repo that is the same project but has lost the history

My scenario is as follows. The project I have cloned from was originally versioned using Mercurial and I have a clone of that original repo with all it's history. At a certain point in time the owner of the project decided to move to GitHub but has…
Nanhydrin
  • 4,332
  • 2
  • 38
  • 51
3
votes
1 answer

Hg-git not pushing commits on Github

I have this problem with hg-git where I can't push any commits to Github anymore. When before I had no problems at all. I have a Mercurial repo in Bitbucket where I push to Github, with hg push git+ssh://git@github.com:userid/MyRepo.git This used…
user1302575
3
votes
1 answer

Installing hg-git on Windows 7, using MinGW to Compile

I'm trying to follow the directions at https://gist.github.com/1059280#comments for installing hg-git on Win7 with MinGW for compiling (from reading across StackOverflow and elsewhere, it seems that the only bit that needs to be compiled is the…
urbushey
  • 1,339
  • 1
  • 13
  • 21
2
votes
1 answer

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 modified version of hg-git which could get the job…
Karichi
  • 55
  • 7
2
votes
2 answers

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 from hg to git, I get the…
Nick Hodges
  • 16,902
  • 11
  • 68
  • 130
2
votes
1 answer

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 --cwd parameter, but I don't want that -- I want to…
Nick Hodges
  • 16,902
  • 11
  • 68
  • 130
2
votes
1 answer

Using mercurial with hg-git as a github client

I am a satisfied user of mercurial, and I would like to use it to work with some repos on github. I have installed hg-git (still having connectivity problems but that's not the question) and looked at the documentation and various questions here on…
alexis
  • 48,685
  • 16
  • 101
  • 161
2
votes
1 answer

hg clone git:.... aborts: failing connection?

When trying to clone a git repository using Mercurial over hg-git: hg clone git://github.com/rails/rails.git destination directory: rails importing Hg objects into Git abort: A connection attempt failed because the connected party did not properly…
Michel
  • 21
  • 2
2
votes
1 answer

I moved my source directory and can no longer push to Heroku

I've been happily using heroku to beta test a Rails app, and recently hit a snag. I prefer Mercurial to git and have been using hg-git to push my app to Heroku. This was working fine until I branched my repo (doing a branch by cloning in kiln, if…
swilliams
  • 48,060
  • 27
  • 100
  • 130
2
votes
1 answer

Export mercurial local repo to GitHub/Bitbucket

I have a local mercurial repo on my desk, and I want to upload it to bitbucket, or github, so it can be viewed on the web. So far I am stucked at the import phase, both GitHub or Bitbucket request that I provide an URL for my repo (i'd have prefer a…
Milan
  • 1,547
  • 1
  • 24
  • 47