Vault Client doesn't recognise typescript files for merging properly.

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

Moderator: SourceGear

Post Reply
sushant
Posts: 13
Joined: Thu Oct 29, 2015 1:16 am

Vault Client doesn't recognise typescript files for merging properly.

Post by sushant » Wed Oct 02, 2019 11:03 pm

Vault Client doesn't recognise typescript files for merging properly.
Whenever I take latest for .ts files, client asks me to overwrite or do not overwrite/merge later. It doesn't intelligently recognises merging capabilities just like in other .cs files as such.

Is there a way around for this? Any plugins that I may install to get this sorted.

Version: Vault Standard 10

Tonya
Posts: 866
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: Vault Client doesn't recognise typescript files for merging properly.

Post by Tonya » Thu Oct 03, 2019 9:55 am

Hello,

Are .ts file type binary files? If so, Vault will detect this and they can't be properly merged.

Thanks,

Tonya

sushant
Posts: 13
Joined: Thu Oct 29, 2015 1:16 am

Re: Vault Client doesn't recognise typescript files for merging properly.

Post by sushant » Wed Oct 09, 2019 4:21 am

Hi @Tonya
I don't whether typescript files (.ts) are considered binary or not. They shouldn't be, I think. It's a open source language created by Microsoft. Should be taken care of just like .cs files.

sushant
Posts: 13
Joined: Thu Oct 29, 2015 1:16 am

Re: Vault Client doesn't recognise typescript files for merging properly.

Post by sushant » Wed Oct 09, 2019 4:21 am

How do I identify whether it's binary or not?

Tonya
Posts: 866
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: Vault Client doesn't recognise typescript files for merging properly.

Post by Tonya » Wed Oct 09, 2019 9:29 am

I did some research and it appears that some .ts files are binary (Video stream format used for storing video on a DVD) and some are text (A TS file is a text file that contains TypeScript code). If are you are using TypeScript code, then the files are likely text files. You may just need to add .ts file types as mergeable file types within the Vault Admin Client (in the Vault Admin Web Client select Admin - SourceControl Repositories - select the correct repository - under File Types add .ts to Mergeable Files).

Let me know if this doesn't resolve the problem.

Thanks,

Tonya

sushant
Posts: 13
Joined: Thu Oct 29, 2015 1:16 am

Re: Vault Client doesn't recognise typescript files for merging properly.

Post by sushant » Wed Oct 09, 2019 11:35 pm

Hi @Tonya,

This sorts it out. Perfect!!!!!
Thanks a ton.

Have a good day.

Tonya
Posts: 866
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: Vault Client doesn't recognise typescript files for merging properly.

Post by Tonya » Thu Oct 10, 2019 7:46 am

Glad to hear and thank you for the update.

Tonya

Post Reply