1

私はhg record最近素晴らしい効果を使用していますが、それはかなり面倒です. Emacsediffは優れたマージ ツールですが、hg record. .hgrc に貼りediff付けて使用できるものはありhg recordますか?

4

1 に答える 1

1

コマンド/拡張機能はrecord代替ツールを起動しません。コミットされていない変更があり、その一部のみを記録したい場合は、次のプロセスを使用できます。

hg revert path/to/thefile  # resets the file back to the last committed version and saves modfied file in thefile.orig
ediff thefile thefile.orig # "merge" any changes you want comitted from .orig into thefile
hg commit # commit the changes you want
mv thefile.orig thefile    # put the uncomitted changes back in place

個人的には、すべてを早い段階で頻繁にコミットするだけです。コミットされていないデータがあると、バジェズスが怖くなります。コミットされた進行中のデータを維持する方法が必要な場合は、Mercurial キューを確認してください。

于 2011-02-02T19:52:55.587 に答える