Hi,
I share my simply SVN buttons (Tortoise client)
SVN 'Update' the current file (if selected) otherwise update current folder, and if no conflicts or errors auto close window:
<?xml version="1.0"?>
<button backcol="none" display="both" icon_size="large" textcol="none">
<label>SVN Update</label>
<tip>Update files or current folder</tip>
<icon1>#agt_update_misc</icon1>
<function type="normal">
<instruction>@NODESELECT</instruction>
<instruction>"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:update /path:"{sourcepath$}{file}" /closeonend:3</instruction>
</function>
</button>
SVN 'Commit' the current file (if selected) otherwise commit current folder, and if no conflicts or errors auto close window:
<?xml version="1.0"?>
<button backcol="none" display="both" icon_size="large" textcol="none">
<label>SVN Commit</label>
<tip>Commit files or current folder</tip>
<icon1>#up</icon1>
<function type="normal">
<instruction>@NODESELECT</instruction>
<instruction>"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:commit /path:"{sourcepath$}{file}" /closeonend:3</instruction>
</function>
</button>
SVN 'Check for Modification' the current file (if selected) otherwise check current folder:
<?xml version="1.0"?>
<button backcol="none" display="both" icon_size="large" textcol="none">
<label>SVN CheckMod</label>
<tip>CheckMod for files or current folder</tip>
<icon1>#db_status</icon1>
<function type="normal">
<instruction>@NODESELECT</instruction>
<instruction>"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:repostatus /path:"{sourcepath$}{file}"</instruction>
</function>
</button>
SVN 'Revert' the current file (if selected) otherwise revert current folder:
<?xml version="1.0"?>
<button backcol="none" display="both" icon_size="large" textcol="none">
<label>SVN Revert</label>
<tip>Revert for files or current folder</tip>
<icon1>#redo</icon1>
<function type="normal">
<instruction>@NODESELECT</instruction>
<instruction>"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:revert /path:"{sourcepath$}{file}" /closeonend:3</instruction>
</function>
</button>
SVN 'Blame' the current file (if selected):
<?xml version="1.0"?>
<button backcol="none" display="both" icon_size="large" textcol="none">
<label>SVN Blame</label>
<tip>Blame for file</tip>
<icon1>#agt_family</icon1>
<function type="normal">
<instruction>@NODESELECT</instruction>
<instruction>"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:blame /path:"{sourcepath$}{file}" /ignoreallspaces /ignoreeol /closeonend:0</instruction>
</function>
</button>