tags:

views:

69

answers:

1

I have AnkhSvn plugged in to Visual Studio 2008.

When I try to commit several files, and at least one of those files causes the prompt to Update, I would like to know which of those files has caused it.

Currently, I am highlighting the files in Pending Changes, Right click and Show Changes, and change the options so it is FROM Base TO Latest. Any files which are not identical have therefore got new content so need to be updated. This is unwieldy (to say the least) so was wondering if there is a quick way of seeing which files have prompted the "needs update" message.

Any assistance appreciated!

+1  A: 

In Pending Changes click the "Recent Changes" tab, and press the refresh button here, refreshes aren't scheduled (yet). Here you see your changes as well as the changes on the server. You're looking for files that are changed both locally and on the server (marked with <->).

It's usually a better idea to update all files often than it is to update individual files, you'll end up with less conflicts that way.

Sander Rijken
Thanks for the prompt reply! Do you know if you can add a hook so when you go to edit a file Ankh can check if you have an old version and if so alert you to this? Also, we are currently reading: http://feedback.ankhsvn.net/pages/3267-generalhttp://ankhsvn.open.collab.net/can you recommend any other resources/blogs etc?Cheers!Guillaume
Guillaume
You can't add a hook like that. The tricky part is also that a new version can be checked in while you are working. To cope with this you would pretty much need to constantly scan the remote status, which also breaks offline capability.As for other resources, be sure to check out the svnbook: http://svnbook.red-bean.com/
Sander Rijken
Thanks for the reply!
Guillaume
@Guillaume, if that was a correct answer to the question, mark it as answered by clicking the checkmark. That gives both of us more reputation, and you're more likely to get good answers when people see you're accepting them. Having a high accept rate is good
Sander Rijken