Jump to content

TortoiseSVN - Diff with TestStand sequences


Recommended Posts

I started writing this post as a question, but found the answer by the time I was done, so I thought I'd make it informative.

TortoiseSVN (and probably most other SCC software) will allow you to override the default diff-viewer per file extension or MIME-type, so I was looking for a way to do this is TestStand sequences. I found this snippet in the TestStand help file:

You can also specify which two sequence files to compare using the command-line arguments for the application. You typically use the Differ application to compare TestStand sequence files in source code control. For example:

SeqFileDifferApp.exe "C:\My Documents\File1.seq" "C:\My Documents\File2.seq"

So I plugged in a custom viewer for .seq using the path "C:\Program Files\National Instruments\TestStand 4.2\Bin\SequenceFileDiffer.exe" %base %mine. You'll notice this is a little different than prescribed by the help file - first' date=' the executable name is different and second, there are no quotes around the parameters. For whatever reason, putting quotes around the params broke the paths. Even without quotes, though, it works with fairly long paths (135+ characters) which has spaces in it.

Another plus, IMO, is the diff that pops up isn't the whole sequence editor - just the pane that shows the diff results. :thumbup1:

P.S. If you didn't know, TSVN ships with support for diff'ing a whole bunch of MSOffice formats - really handy for comparing documentation revisions!

For the truly lazy, here's a registry file to add the diff for you. Take note, I'm using TestStand 4.2! You'll have to rename it to .reg to merge it.

TortoiseSVN Diff - seq.txt

  • Like 2
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.