During merges mercurial leaves .orig file for any unresolved file. But after manually resolving problems and marking a file correct it does not delete the .orig file. Can it
I have posted this answer before. But this is the correct place to this answer.
I made this batch file myself.
IF "%1%" == "d" (
del /s *.orig
del /s *.rej
) ELSE (
del /s /p *.rej
del /s /p *.orig
)
Help: Save this content as orig.bat
orig d
to delete all rejects and orig files at once without confirmationorig
to delete files with confirmation [Safety mechanism]Hope this is helpful.