1. Yuya Nishihara
  2. hgtip-content-ja


Yuya Nishihara  committed 6c85c99

ja: translated advanced/2009-11-16-using-convert-to-decompose-your-repository

  • Participants
  • Parent commits 26f1d0b
  • Branches ja

Comments (0)

Files changed (1)

File advanced/2009-11-16-using-convert-to-decompose-your-repository.html

View file
 {% extends "_tip.html" %}
-    title: Using Convert to Decompose Your Repository
+    title: Convert でリポジトリを分解する
     author_name: Thomas G. Willis
     author_link: http://blog.sadphaeton.com
     created: 2009-11-16
 {% block excerpt %}
-What if your repository is too big for its own britches, and you would rather
-the projects contained within be their own repositories? But darn it, what
-about the history?
 {% endblock %}
 {% block tip %}
-Say you have a repository that has evolved to contain many projects (folders).
-And you have decided you'd be better off if each project (folder) were a
-separate repository. You can use the `convert` extension to do just that and
-retain your changeset history.
+そうすることにしました。それには `convert` エクステンションが使えます。
-For example, a repository laid out like this:
-You may have decided at some point that AnotherDamnContentManagementSystem
-really should belong in its own repository, and had you been able to predict
-the future so long ago, you would have seen that it was truly a poor choice on
-your part to combine them all together in one like you were still using
-Perforce and assumed that this whole version control thing was a super
-expensive operation.
+ある時点で、 AnotherDamnContentManagementSystem
+Perforce を使っていた時のようにバージョン管理ってものはやたら時間のかかる処理だと思い込み、
-Well lucky for you, the convert extension can help you undo this embarrassing
-decision before you show your work to the Venture Capitalist you're meeting
-for lunch.
+さぁ、あなたはラッキーでした。 convert エクステンションでこの恥ずかしい決定を取り消すことができます。
-First [enable the convert extension]({{ links.tip_edit_hgrc }}):
+まず、 [convert エクステンションを有効にします]({{ links.tip_edit_hgrc }}):
     convert = 
-The convert command has a `--filemap` parameter which allows you to specify
-what you want included in the operation and what you don't.  You can even have
-things renamed as part of the operation. A filemap for the operation we are to
-perform will look like this:
+convert コマンドには `--filemap` パラメーターがあり、
+これから行う作業で使う filemap はこのようになります:
     include AnotherDamnContentManagementSystem
     rename .
-Then your command to convert will look like this:
+それから、 convert コマンドはこのようになります:
     $ hg convert --filemap myfilemap bigrepo AnotherDamnContentManagementSystem-Repo
-And that's it. AnotherDamnContentManagementSystem is now its own Mercurial
+これだけです。 AnotherDamnContentManagementSystem に専用の Mercurial
-{% endblock %}
+{% endblock %}