Right click your folder, and select TortoiseSVN->Settings. I’ve used SVN on and off for years, and I still don’t understand what is going on here. So let’s take a look at a standard diff in SVN: You might say “you get what you paid for,” but you’d only say that if you wanted to tick off a lot of smart and helpful people. Obviously SVN is worlds better than VSS, but some of the standard tools distributed with TortoiseSVN are a little lacking. ![]() Thanks to Paul Roub from Source Gear for the details: Adding DiffMerge To Subversion From there, the following operations:Ĭommand: \diffmerge.exe –title1=”original version” –title2=”modified version” %1 %2Ĭommand: \diffmerge.exe –title1=”source branch” –title2=”base version” –title3=”destination branch” –result=%4 %1 %3 %2 So go to Tools->Options and go to the Custom Editors Tab. Here’s what we get for a standard VSS diff: First, whip out your SourceSafe explorer: Just like getting 1 hour of yard time when you’ve been in the hole for a week, it gives you something look forward to.Īnywho, let’s get started. But don’t worry, adding in DiffMerge can add just enough pretty flowers to your dung heap of a source control system to make it bearable. SourceSafe was great for what it was, 15 years ago when file shares were considered a reliable data interchange format, but nobody should have to suffer through SourceSafe in this day and age. We all feel bad that you are in this position. Let’s start off with those in greatest need, ye old SourceSafe users. However those settings can be tricky to figure out, so I figured I’d put together a cheat sheet of how to set it up for various platforms. Not a huge problem because DiffMerge is free, and it can plug into just about any source control system, replacing the existing settings. I want it to offer me a clean and intuitive interface. I want to it actually be able to tell me the only change is whitespace. I want it to tell me not just that a line changed, but exactly what in that line changed. ![]() And it if increases Vault adoption, both among development shops and development tool vendors, it will make my life easier.īut when I go to work on long-term contracts for large clients, they already have source control in place that they want me to use, which is OK, but when I need to do some merging, it starts getting painful. I’ve just been a very happy user of Vault and DiffMerge for years. Yeah, I probably do, but I don’t work for SourceGear and have no financial interest in their products. You sound like a sleazy used car salesman DiffMerge is just yet another great option to consider when you’re getting started. If you’re using something already that works for you, great. By the way, Eric’s blog is easily one of the most valuable I’ve read, and while it doesn’t get much love these days, there’s a lot of great stuff there, and it’s even worth going back and reading from the beginning if you haven’t seen it.Īre there better diff tools out there? Sure, there probably are. ![]() Eric Sink, the founder of SourceGear, wrote about it here. It’s head and shoulders above whatever junky diff tool they provided with your source control platform, unless of course you’re already using Vault. WinMerge Portable (by PortableApps.How to use SourceGear DiffMerge in SourceSafe, TFS, and SVN What is DiffMergeĭiffMerge is yet-another-diff-and-merge-tool from the fine folks at SourceGear. ![]() It was also the last version to ship with an ANSI version of WinMerge. WinMerge version 2.12.4 was the last version to ship with Microsoft Visual C 2005 runtimes that support Windows 95/98/ME/NT. WinMerge version 2.14.0 was the last version to ship with Microsoft Visual C 2008 runtimes that support Windows 2000. Other Versions WinMerge 2.14.0 for Windows 2000 Admin rights for the installer (except for Per-user installer).64-bit installer: Microsoft Windows 7 or newer.32-bit installer: Microsoft Windows XP SP3 or newer.
0 Comments
Leave a Reply. |