2

I'll start by quoting google's blog

Project owners can now create multiple repositories for their project, and they can choose to make any of those new repositories a clone of any of the project's other repositories. These project clones share the same commit access permissions as the original project and make it easier for project members to work together on new features. A common pattern in the Mercurial world is to place each "official" branch into a separate repository with naming conventions like "project-crew", "project-stable", and so on.

I've done exactly this. I have my default repository and then I've cloned that repository to a repo named "dev". I intend to use the default repository as my stable repo and then the dev repo as my primary development repo. Now I'm just wondering how on earth I should go about to pull and push between the default and the dev repositories?

4

2 に答える 2

2

これは問題 2563 (プロジェクトごとに複数の hg リポジトリ) に由来するようで、これが問題 2946 (Mercurial プロジェクトの非コミッター クローン) を引き起こしました。

ここでは間違いなく 2 つの個別の機能要求が混同されています。

  • 1 つは、プロジェクトが複数のリポジトリ (相互に関連する場合もしない場合もあるリポジトリ) を持つ機能です。
  • もう 1 つは、プロジェクト メンバー以外がプロジェクト リポジトリの独自の複製バージョンをホストできる機能です。

2 つのリポジトリ間をプッシュする最も簡単な方法は次のとおりです。

于 2010-03-19T07:51:22.040 に答える
1

クローンを整理する例については、Joel Spolsky のMercurial チュートリアルの最後のページを参照してください。

于 2010-03-19T07:47:23.963 に答える