Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
How can I add a new file to mercurial diff patch ? I can't seem to find any information in the man pages.
あなたの質問を完全に理解しているかどうかはわかりませんが、Mercurial を使用して差分パッチを生成している場合、リポジトリに追加する新しいファイルを含める方法は、新しいファイルをリポジトリの一部としてマークすることです。 hgaddコマンドを実行してからdiff.
add
diff
hg add newfile hg diff > my.patch