germoving.blogg.se

Winmerge command line options
Winmerge command line options










winmerge command line options

This same approach can be used to add nearly any visual diff tool, but be aware that your diff tool must be able to support directory diffs if it is to be used by TortoiseHg, unless you are using release 0.8 or later. On the TortoiseHg tab, you should see winmerge available in the drop-down list for Visual Diff Command.

winmerge command line options

The -o parameter allows you to specify a different output directory.Add these lines to your personal Mercurial.ini fileĬmd.winmerge = C:\Program Files\WinMerge\WinMergeU.exe Which will create the patch in the current directory. You can create patches for the last n revisions like this: There's also a tool, format-patch, for formatting a patch to send as an e-mail.

winmerge command line options

Or if you want to create a patch between 2 specific commits you can use git diff The easiest way to create a patch for the last commit is

winmerge command line options

There are several ways for creating a patch, the recommended one is using git format-patch (as mentioned in MDL-43119) In the dialogue box, make sure you select Style: Unified in the Format box.Ĭreating a patch if you're using Git for version control is similar to CVS, and similarly you don't need an unchanged copy of moodle to diff against. This will give you a nice view of what you have changed. You need a copy of 'standard_moodle' and 'my_moodle'. In this sense it is like the original command-line 'diff' program. WinMerge is a nice windows GUI for comparing folders. Eclipse makes creating patches really easy, once you have got it set up correctly. Then to create the patch, type:ĭiff -Naur standard_moodle my_moodle > patch.txt Suppose these two copies are in folders called 'standard_moodle' and 'my_moodle' which are subdirectories of the current folder. It requires that you have two copies of the code, one with your changes, and one without. Diff is the a linux command line program, and is where patch files originated.












Winmerge command line options