I want to update the content of a file from my local folder to svn, note that the file exists on svn.
first I am checking out with depth empty. then I run update on the script
<svn refid="svn.settings" logFile="${directory}/checkout_log.log">
<checkout url="${svn_path}"
destpath="${full_path}"
revision="HEAD" depth="empty"
/>
<update recurse="false" revision="HEAD" dir="D:\Update\SVNCheckout\T\" file= "test.sql" />
</svn>
however In the log file its sayes
Skipped 'test.sql'
Summary of conflicts:
Skipped paths: 1
<Update> finished.
ok I understand there is conflict , however how I can svn resolve
the script
To avoid conflicts it is better to first check out, then modify the checked out file and then try to check it in. If this fails, then remove all temporary files and try it again.
The overall procedure looks like this (using Ant Contrib as an extension to plain Ant):