<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sasaplus1</author_name>
  <author_url>https://blog.hatena.ne.jp/sasaplus1/</author_url>
  <blog_title>四角革命前夜</blog_title>
  <blog_url>https://sasaplus1.hatenadiary.com/</blog_url>
  <categories>
    <anon>Mercurial</anon>
    <anon>Git</anon>
  </categories>
  <description>全く同じMercurialとGitのリポジトリがある場合（普通ない）に、片方のコミットをもう片方に適用する方法。 MercurialとGitって言うよりかはpatchコマンドの使い方なんだけど。 パッチの生成と適用 $ cd ~/hg_repos/ $ hg diff -r tip^ &gt; ~/diff.patch $ cd ~/git_repos/ $ patch -p1 &lt; ~/diff.patch これだけ。patchコマンドすごいですね。 参考：fork, merge, diff, patch, git, hgソースコラボ色々 - komagataのブログ</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsasaplus1.hatenadiary.com%2Fentry%2F20130614%2F1371136148&quot; title=&quot;MercurialリポジトリのdiffをGitに適用する - 四角革命前夜&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-06-14 00:09:08</published>
  <title>MercurialリポジトリのdiffをGitに適用する</title>
  <type>rich</type>
  <url>https://sasaplus1.hatenadiary.com/entry/20130614/1371136148</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
