Quickest way to "diff" from C# code

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Eric Willeke

Quickest way to "diff" from C# code

Post by Eric Willeke » Thu Nov 11, 2004 9:31 am

What's the most direct way to use the code API to create a diff of two repository versions (which may or may not have a working folder).

The starting point is the fully-qualified repository path and two version numbers, and the desired end point is to see the diff window for those two versions.

Help? Thoughts?

sterwill
Posts: 256
Joined: Thu Nov 06, 2003 10:01 am
Location: SourceGear

Post by sterwill » Thu Nov 11, 2004 12:19 pm

I wrote a small command-line application that does what you've requested. It's written in C#, but the API would be the same for VB or C++. You'll need to put a copy of your Vault Client DLLs in the Client DLLs directory after you unzip the archive.

Let me know if you have any questions.
Attachments
DiffTwoFiles.zip
(7.81 KiB) Downloaded 345 times
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`

Post Reply