SVN show files in working directory which are out of date
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?
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
With TortoiseSVN, use the "Check for Modifications" command, then hit the "Check Repository" button.
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.
精彩评论