Tortoise SVN Buttons

Hi,

I share my simply SVN buttons (Tortoise client) :slight_smile:

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>&quot;C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe&quot; /command:update /path:&quot;{sourcepath$}{file}&quot; /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>&quot;C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe&quot; /command:commit /path:&quot;{sourcepath$}{file}&quot; /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>&quot;C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe&quot; /command:repostatus /path:&quot;{sourcepath$}{file}&quot;</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>&quot;C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe&quot; /command:revert /path:&quot;{sourcepath$}{file}&quot; /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>&quot;C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe&quot; /command:blame /path:&quot;{sourcepath$}{file}&quot; /ignoreallspaces /ignoreeol /closeonend:0</instruction>
	</function>
</button>

Thanks for sharing!
great functions!
hated the original contextmenu solution by them!

here the RENAME function as well

@NODESELECT "C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:rename /path:"{sourcepath$}{file}"