Applying/Commiting mercurial patches
You want to apply the changes you have to a repository or another branch
So, basically you want to apply the patch
Here are step by step procedures
– Create the patch first. Being on your current repository do:
hg diff > mychanges.diff
BTW, you can achieve this though hg export also.
– Clone a new repository or move to the repo you want to apply the patch.
– move to your repository and apply the patch
hg import mychanges.diff
Using the above, you can apply the patch to mercurial and also see the applied path to the repository.
Also if you are on mercurial see:
Do you like solving algorithms and improve your problem solving skills?
See how you would solve these known algorithm problemsbinary tree problems with solution
Find K Complementary numbers from array Java implementation
Kadane’s algorithm in C – Dynamic Programming
Check if two strings are anagrams or not
Find the pairs that makes K Complementary in the given array java solution
Java solution for checking anagram strings – tell if phrases are anagrams
Array reversal in Recurrsion
Finding missing numbers from billion sequential number list file
Check if there are three numbers a, b, c giving a total T from array A
Changing decimal number to its binary equivalent