Confused on file changes

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

Moderator: SourceGear

Post Reply
gregsta
Posts: 3
Joined: Thu Jul 17, 2008 8:10 am

Confused on file changes

Post by gregsta » Thu Jul 17, 2008 8:16 am

Hi,
Forgive me if this is the most basic of questions, but I'm new to SVN and the way it works.
I have a web site and I want to control the updates to the code, but when the code has been updated, I want to commit the change the the actual physical file. At the moment, I can seem to work this out. I have Vault server installed on the server where the code is based. I installed the client on the server also and imported the files into a new repository. I then created a new user. On my work computer, I then installed the client and connected using the new user and edited some files. The changes are all made in the Vault, but I can't commit them to the file.

Is there a way to do this?

Kind Regards
Greg

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Jul 17, 2008 8:46 am

Let me make sure I understand this -- you have updated files in the Vault database and now you want to update files in a website?

You could use a Vault GUI Client or the command line client on the web site machine to "Get Latest" from the database. You could set the website directory as the working folder for the client or you could do a get to the website as a non-working folder.

If you'd like your website updated everytime you checkin files, then you can set up Shadow Folders. A shadow folder is a local folder that contains the contents of a repository folder, and is kept up-to-date in the shadow folder by the Vault server as changes are applied to repository folder.

For more information on Shadow Folders, see Help in the Vault Admin client, and look for Source Control Repositories->Shadow Folders.
Linda Bauer
SourceGear
Technical Support Manager

gregsta
Posts: 3
Joined: Thu Jul 17, 2008 8:10 am

Post by gregsta » Thu Jul 17, 2008 10:02 am

Hi and thanks for the reply!
Yes your correct. I have updated the files in the Vault and want the changes to appear on the website.

I just tried the shadow folder option, but the changes don't seem to be working. I have set up the shadow folder to the root of the website, and edited a few files, but no joy. Do I have to check or select something extra when saving etc?

Is there a way I can some screen shots up just for a sanity check that I'm doing things correctly?

Many Thanks
Greg

gregsta
Posts: 3
Joined: Thu Jul 17, 2008 8:10 am

Post by gregsta » Thu Jul 17, 2008 10:26 am

Wait!
I have fixed the problem! It's now working fine :D

Very impressed!!

Thanks for all your help, I'm currently testing the software for use in our team. First impressions are very good!

Kind Regards
Greg

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Jul 17, 2008 4:29 pm

Glad to hear it. :D

Let us know if you need further assistance.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply