Diff on Vault 2.0 Not Working on Some Files
Moderator: SourceGear
Diff on Vault 2.0 Not Working on Some Files
For some reason when looking at the diff between two files, it comes up cryptic, almost like it is binary. We tried other text files of the same type/extension and they don't have the issue.
Any suggestions?
Any suggestions?
Re: Diff on Vault 2.0 Not Working on Some Files
Well, I hate to give the dumb obvious answer, but: Any chance the file is binary?jswencki wrote:For some reason when looking at the diff between two files, it comes up cryptic, almost like it is binary. We tried other text files of the same type/extension and they don't have the issue.
Any suggestions?
If you want smart subtle answers, we'll need more detail. What kind of file is it? What's the filename?
Eric Sink
Software Craftsman
SourceGear
Software Craftsman
SourceGear
Getting Bad Diff Results on .prc and .sql
I getting this same issue with .prc and .sql files.
Both of these are text files used in Visual Studio 2003 Database Projects.
Both of these are text files used in Visual Studio 2003 Database Projects.
I guess the place to start is to find out whether the problem is in the diff tool or Vault. Some questions:
1. If you do a "View" from the repository, does the file display correctly?
2. If you do a Get to non working folder on the file versions you want to compare, and manually invoke the diff merge tool, do you get the same results?
3. What happens if you choose a different diff tool - does it display the files correctly inside or outside of Vault?
1. If you do a "View" from the repository, does the file display correctly?
2. If you do a Get to non working folder on the file versions you want to compare, and manually invoke the diff merge tool, do you get the same results?
3. What happens if you choose a different diff tool - does it display the files correctly inside or outside of Vault?
It's the sgdm.exe that's the problem.
I get the same bad result when I use the sgdm.exe out side the vault as I do while inside the vault.
I can use WinDiff on the files with no problem outside the vault. But I can't use it inside the vault. And besides, your Diff utility is way... cooler. So if there is a way that you can make the sgdm.exe work with .sql and .prc files, that'll be great.
Thanks
I get the same bad result when I use the sgdm.exe out side the vault as I do while inside the vault.
I can use WinDiff on the files with no problem outside the vault. But I can't use it inside the vault. And besides, your Diff utility is way... cooler. So if there is a way that you can make the sgdm.exe work with .sql and .prc files, that'll be great.
Thanks
Okay here are the files. I changed the extension to .txt so that I can load the files up to the web site.
It is still having the same problem after I change the extension from .prc to .txt.
I suspect that the issue has to do with the encoding of the text.
These files are using UNICODE UCS-2 character set.
That's the standard character set used for NVARCHAR in MS SQL 2000.
It is still having the same problem after I change the extension from .prc to .txt.
I suspect that the issue has to do with the encoding of the text.
These files are using UNICODE UCS-2 character set.
That's the standard character set used for NVARCHAR in MS SQL 2000.
- Attachments
-
- dbo.TRANSACTION_START2.txt
- (4.3 KiB) Downloaded 1070 times
-
- dbo.TRANSACTION_START.txt
- (4.25 KiB) Downloaded 1151 times