間違いだらけの備忘録

このページの内容は無保証でありこのページの内容によって直接、または間接に損害を受けられたとしても私は責任を取りません。

2013-10-04から1日間の記事一覧

Mercurial における『ブランチ』の概念

http://d.hatena.ne.jp/flying-foozy/20120801/1343816083 『ヘッド』が増えたせいで履歴反映できないケースは "--force" 指定すれば良いというマインドセットができてしまい、状況に関わらず "--force" を使用してしまう危険性が出てくる。 素敵〜

Error: repository has at least one unnamed head

上記で作ったリポジトリが上記エラーでgit hg fetchできなくなっていた。元の大規模変更による影響? 結局元ディレクトリを消して $ git hg clone下記を実施 $ rm -rf .git/hgremote $ .git/hgcheckout/ $ cp -rp ../repo2/.git/hgremote .git/ $ cp -rp ../…

mercurial変換

git-hg http://d.hatena.ne.jp/tyru/20100429/git_hg_and_hg_fast_export http://offbytwo.com/git-hg/ #$ git clone git://github.com/offbytwo/git-hg $ git clone https://github.com/cosmin/git-hg.git $ ln -s `pwd`/git-hg/bin/git-hg /usr/local/bin/…

このページにはhatena以外のサービスからのコンテンツが埋め込まれています。 hatenaによりGoogle AdSense 広告が埋め込まれています。