Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate 09-git-and-other-scms import-hg v2 #181

Merged
merged 5 commits into from
Aug 14, 2015

Conversation

networm
Copy link
Member

@networm networm commented Jul 6, 2015

No description provided.

@@ -1,23 +1,23 @@
==== Mercurial

(((Mercurial)))(((Importing, from Mercurial)))
Since Mercurial and Git have fairly similar models for representing versions, and since Git is a bit more flexible, converting a repository from Mercurial to Git is fairly straightforward, using a tool called "hg-fast-export", which you'll need a copy of:
因为 Mercurial Git 在表示版本时有着非常相似的模型,但是因为 Git 更灵活一点,将一个仓库从 Mercurial 转换到 Git 是相当直接的,使用一个叫作“hg-fast-export”的工具,需要从这里拷贝一份:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

但是因为 Git 更灵活一点=>也因为 Git 拥有更加强大的灵活性

@IceNature
Copy link
Contributor

@networm 已完成,只有一个意见

@networm
Copy link
Member Author

networm commented Jul 25, 2015

@IceNature 已按照意见修改。

@networm networm mentioned this pull request Jul 29, 2015
95 tasks
@networm networm modified the milestone: v1.0.0 Jul 29, 2015
Now you're ready to push the repository up to its new server-side home:
那看起来非常好。
所有 Mercurial 标签都已被转换成 Git 标签,Mercurial 分支与书签都被转换成 Git 分支。
现在已经准备好推送仓库到新的服务器那边:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

现在已经准备好仓库推送到新的……

@Geno1024
Copy link
Contributor

@networm 已审核完毕,并提出 1 个修改意见。

@networm
Copy link
Member Author

networm commented Aug 11, 2015

@Geno1024 已修正。

Mercurial is a bit more forgiving than Git for what it will put in the author field for changesets, so this is a good time to clean house.
Generating this is a one-line command in a `bash` shell:
下一步就是创建一个作者映射文件。
Mercurial 对放入到变更集作者字段的内容比 Git 更宽容一些,所以这是一个打扫屋子的好机会。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

所以这是一个打扫屋子的好机会——所以这是一个清理的好机会

@sanddudu
Copy link
Contributor

@networm 审校完成

@networm
Copy link
Member Author

networm commented Aug 14, 2015

@sanddudu 已修正。

networm added a commit that referenced this pull request Aug 14, 2015
Translate 09-git-and-other-scms import-hg
@networm networm merged commit d3e6023 into progit:master Aug 14, 2015
@networm
Copy link
Member Author

networm commented Aug 14, 2015

@IceNature @Geno1024 @sanddudu 已合并入主干。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants