The transition from hg to git?

0 like 0 dislike
13 views
Hi guys! I want to fully and completely translate some of your projects with mercurial (Google Code) to git (GitHub).

I enjoyed GC very long, but GH I eventually impressed a lot more.


But I'm interested in two things:


1. The transfer of all commits on the project. You have to create a bare project, as was the whole story with actors and brunches

2. Sane plugin for Netbenas. Need a little: "Commit", "push" — it POSOLOGY (preferably, the automatic insertion of the password), a "Pool". The rest, as diffi, mercy, etc. — is highly desirable. It can be a separate GUI application for Linux based on Qt, but it's not so interesting


but it is extremely important that the first paragraph — the transfer of the entire history of edits. Waiting for advice as it is beautiful to exercise. Thanks in advance.
by | 13 views

5 Answers

0 like 0 dislike
We used hg-fast-export: hedonismbot.wordpress.com/2008/10/16/hg-fast-export-convert-mercurial-repositories-to-git-repositories/
+ may need to change the email adresses of the authors in the git filter-branch.
The benefits of using hg-fast-export in speed. This is the fastest and most reliable way.
Regarding the second item do not prompt.
by
0 like 0 dislike
I don't understand, why to switch on git? the plan of action be
\r
    \r
  1. put the extension hg-git from the previous response
  2. \r
  3. add in the partition paths of the file reporoot/.hg/hgrc with something like
    github = git+ssh://git@github.com:username/reponame.git
  4. \r
  5. command hg push github
  6. \r
  7. PROFIT!!!
  8. \r
personally, I myself am a couple of forks on github only using hg-git.
by
0 like 0 dislike
Alternatively, there is an extension for Mercurial HgGit. Having in the working directory hg repository, you can push all revisions in a git repository (including blank, I think).
by
0 like 0 dislike
On the second point, there is such a plugin, however a year ago, when I used netbeans, it was pushnovat, as things stand now I don't know, but it's the only option.
\r
By the way, in netbeans 7 promises native support for git.
by
0 like 0 dislike
It can be a separate GUI application for Linux based on Qt, but it's not so interesting

This situation is the following... There are tools that are practically in the delivery of the git: git-gui and gitk. The first one allows to visualize/modify prepared to commit the file (including the line), and commit. The second displays the tree branches. Their advantage in the presence of packages in the main repositories. But they are written in Tk, so the interface is not fantastic.
\r
But there all the same, but for Qt/GTK. You can see the screenshots in the review the-bosha.ru/2010/05/11/nebolshoy-obzor-gui-interfeisov-dlya-git/
\r
Of not mentioned it is worth noting SmartGit, but it may seem too complex, and some operations are named not like the originals at a command prompt, can at first be confusing.
by
110,608 questions
257,186 answers
0 comments
28,757 users