views:

28

answers:

3

I am playing around with SVN trying to get a better feel for how it works. I added some files to my repository and checked them out into 2 separate working directories. For working directory 1 I am using my SQL client software (Aqua Data Studio) to modify the file and working directory 2 I am just using Windows Explorer with TortoiseSVN.

My question is, does SVN or the clients built on top of it, never show when a file in your working copy is out of date? If I make a change in working directory 1 and commit I would expect to see working directory 2 notify me that my working copy is out of date with the repository. Is this ever the case? Is there any way to tell which files in my working directories are out of date or do I just need to be careful to always update prior to making a change to a file?

+3  A: 

With TortoiseSVN, use the "Check for Modifications" command, then hit the "Check Repository" button.

Ben Voigt
Thanks, seems like TortoiseSVN is providing a graphical front end to the command provided by shiftycow and Mark.
Jay
+2  A: 

Try svn status --show-updates

[EDIT] I didn't notice at first that you were using Windows, but this command should work for others running OSX or Linux

shiftycow
or "svn st -u" Items that have modifications in the repository will have a * next to them.
Mark Biek
+1  A: 

No, You will not see in your local working folder whether the repository contains a newer version.

SVN will check prior to committing your changes whether the server version is newer. It is good practice to update and commit frequently.

As you are on Windows you might want to try CommitMonitor, a tool written by the author of TortoiseSVN that notifies you about commits to SVN repositories.

0xA3
Thanks, I had heard about that tool from reading other SVN related questions on SO. I will check it out.
Jay