Saturday, May 2, 2009

Subversion - query what files will be updated

Another subversion entry!
Before I push changes out to the production website, I wanted to see what files will get pushed out. So I wanted to see if I run svn update, which files will be updated. I was hoping to find something like 'svn update 'dry run'" or 'svn update -query'.

So I looked hard at 'svn update' documentation but still didn't find anything. After a few searches on the manual, the command turned out to be on the least expected svn command. So, the summary is - if you want to see what svn update will do, run this command:
svn status -u

No comments: