I need to check the content of files with extension *.csproj as part of Pre-Commit Hook and validate them
How can I get the list of files that will be checked-in as part of the transaction?
What steps should I do to check the content of the files?
I am using the windows version of Sub version server. I will be using Perl Script getting the file list.
You need to use an svn administration tool called svnlook
to get the files changed.
Look at svnlook cat
- http://svnbook.red-bean.com/en/1.5/svn.ref.svnlook.c.cat.html
and svnlook changed
- http://svnbook.red-bean.com/en/1.5/svn.ref.svnlook.c.changed.html