TortoiseHG 内の Mercurial Workbench では、多くの Mercurial 関数をグラフィカルに使用できます。一部のファイルを別の別のパッチに抽出したい Mercurial キューにパッチがあります。
コマンドラインアプローチの解決策をここで見つけました:
Gaol: 最終的に OP=P1 + P2 になります。ここで、OP=オリジナル パッチ、P1=パッチ 1、P2=パッチ 2 です。
解決:
hg qpush OP
hg qrefresh <paths to keep> to replace OP with P1, including only the paths you named. The other changes will remain as uncommitted changes in the working directory.
hg qnew -f P2 to pick up those changes.
ワークベンチ内でこれを行う方法を理解できないので、誰かがこれを達成する方法を教えてくれたらうれしいです. ありがとう!