Using Vault for source control on a website

If you are having a problem using Vault, post a message here.
Post Reply
JohnS
Posts: 14
Joined: Wed Sep 09, 2009 12:22 pm

Using Vault for source control on a website

Post by JohnS » Wed Nov 25, 2015 10:31 am

Hi,

Does anyone have any suggestions for best practice when using Vault for source control on a website? I've only used it for our product's source code, and I want to avoid the _sgbak folders that I see scattered around my local copy of the source code.

Thanks,
John

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Using Vault for source control on a website

Post by Beth » Wed Nov 25, 2015 2:07 pm

In the Vault Tools - Options - Local Files - Backup Location, you can change where those _sgbak folders are kept so that they aren't seen in the working folders.
Beth Kieler
SourceGear Technical Support

JohnS
Posts: 14
Joined: Wed Sep 09, 2009 12:22 pm

Re: Using Vault for source control on a website

Post by JohnS » Thu Dec 17, 2015 11:00 am

Hi Beth,

It looks like the Vault option that you referred me to will apply not only to all repositories, but to all Vault users on a given machine! I was hoping to have the repository properties define where backup files should go. Is that not possible?

Thanks,
John

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Using Vault for source control on a website

Post by Beth » Mon Dec 21, 2015 2:27 pm

That setting is saved in the HKEY_CURRENT_USER registry area, so it should change if a different user logs into the Windows machine. If multiple people are using the same Windows logon on the machine, but different Vault logons, then the backup location would be the same for all Vault users when the login to that machine.
Beth Kieler
SourceGear Technical Support

Post Reply