diff --git a/tests/test-mq b/tests/test-mq --- a/tests/test-mq +++ b/tests/test-mq @@ -338,6 +338,33 @@ hg qrefresh --git cat .hg/patches/bar hg log -vC --template '{rev} {file_copies%filecopy}\n' -r . +echo % create a git patch +echo a > alexander +hg add alexander +hg qnew -f --git addalexander +cat .hg/patches/addalexander | grep diff + +echo % create a git binary patch +cat > writebin.py <