Source control file not loading

Discussion of open issues, suggestions and bugs regarding file and folder merge tool – Code Compare
Post Reply
stuartsnaddon
Posts: 3
Joined: Mon 05 Jul 2010 12:11

Source control file not loading

Post by stuartsnaddon » Mon 05 Jul 2010 12:17

When I choose the Visual Studio "Compare This Document" menu option, CodeCompare only loads in the local (diff) file, the source control version is not loaded.

This actually works correctly on at home when I was testing CodeCompare, but at work, it's a different story. I'm using the PushOk plugin at work if that helps.

Any ideas on how to configure CodeCompare or Tortoise SVN to load in the version under source control?

Artem
Devart Team
Posts: 137
Joined: Mon 21 Jun 2010 14:02

Post by Artem » Mon 05 Jul 2010 13:45

The "Compare This Document" command creates a comparison document with the current document as source, a target file is unspecified - you should specify it manually.

If you want to compare a local version with the one from the repository, you should use TortoiseSVN context menu ("Diff with previous version" command, for example).

stuartsnaddon
Posts: 3
Joined: Mon 05 Jul 2010 12:11

Post by stuartsnaddon » Tue 06 Jul 2010 21:24

I've found it. It's the VisualSVN plugin that does what I want. VisualSVN has a context menu option "Show Differences For xxx.cs"

When you click this, is compares the local copy of the file against the HEAD in source control.

Very handy to be able to do this from within Visual Studio.

The down-side is that you need to buy Visual SVN, which is probably a good thing actually :)

If you guys make a plugin for Visual Studio that does this, that would be perfect!

stuartsnaddon
Posts: 3
Joined: Mon 05 Jul 2010 12:11

Post by stuartsnaddon » Wed 07 Jul 2010 08:47

stuartsnaddon wrote:I've found it. It's the VisualSVN plugin that does what I want. VisualSVN has a context menu option "Show Differences For xxx.cs"

When you click this, is compares the local copy of the file against the HEAD in source control.

Very handy to be able to do this from within Visual Studio.

The down-side is that you need to buy Visual SVN, which is probably a good thing actually :)

If you guys make a plugin for Visual Studio that does this, that would be perfect!
Forgot to mention, I've configure the "Show Differences For " to use CodeCompare to display the files, not the built in merge/diff tools from Tortoise. Great stuff!

Post Reply