EdiffでHGレコードを使用する方法はありますか?
-
28-10-2019 - |
質問
私は使用しました hg record
最近大きな効果がありますが、それはかなり面倒です。 emacs ediff
素晴らしいマージツールですが、一緒に動作させる方法を見ていません hg record
. 。 .hgrcに固執できるものはありますか ediff
と hg record
?
解決
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
個人的には、私はすべてを早期かつ頻繁にコミットするだけです。進行中のデータをコミットしているが柔軟な柔軟性を維持する方法が必要な場合は、水銀キューをチェックしてください。
所属していません StackOverflow