I have got a folder containing a list of diff files in a Mercurial queue (mq) format and I want to apply these patches.
At first I tried git am --patch-format=hg -- "path/to/files/"
, but this gave me the error Patch is empty. Was it split wrong?
. I tried git am --continue
, hoping this is a non-stopping error, but it complains Patch does not have a valid e-mail address.
. I then typed git am --abort
.
I also tried to use git am --patch-format=hg -- "path/to/files/*.diff"
and git am -- "path/to/files/*.diff"
but these complained that there is No such file or directory
. Is there a better git tool that I must use, or am I misunderstanding how git am
works?