1@echo off
2
3:: based on smplayer getrev.cmd script
4:: Some SVN clients can use localized messages (e.g. SlikSVN), force English
5set LC_ALL=C
6set SVN_REV=
7
8for /f "tokens=2" %%i in ('svn info ^| find "Revision:"') do set SVN_REV=%%i
9
10if NOT "%SVN_REV%"=="" (
11echo r%SVN_REV%
12)
13
14
15