I'm using Mercurial repository and I have a patch in 'git' format and I wanted to know how I can apply that patch to my current repository which is Local.
Thanks
hg import <patchfile(s)> should be able to handle git-style patches.
Use hg import --no-commit <patchfile(s)> if you don't want it to automatically commit the changes after each patch is imported.
Mozilla's FAQ mentions this: https://developer.mozilla.org/en/Mercurial_FAQ#How_can_I_diff_and_patch_files.3f
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With