summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--build/make_ver.bat3
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 892acf04a8..9f2a275fbb 100644
--- a/README.md
+++ b/README.md
@@ -42,8 +42,7 @@ Miranda NG is published under the [GNU GPL license][2].
- [Official web site](http://miranda-ng.org/)
- [Forums](http://forum.miranda-ng.org/)
- [Community Wiki](http://wiki.miranda-ng.org/)
-- [Main SVN repository](http://svn.miranda-ng.org/)
-- [Read-only Git mirror](https://github.com/miranda-ng/miranda-ng)
+- [Main Git repository](https://github.com/miranda-ng/miranda-ng)
## Miranda NG Communities ##
diff --git a/build/make_ver.bat b/build/make_ver.bat
index 8f72cf52ee..40a391351e 100644
--- a/build/make_ver.bat
+++ b/build/make_ver.bat
@@ -2,7 +2,8 @@
cd /d %~dp0
for /F "tokens=2,3" %%i in (..\include\m_version.h) do if "%%i"=="MIRANDA_VERSION_FILEVERSION" (set OldVer=%%j)
-for /F %%i in ('svnversion build.no') do set Revision=%%i
+for /F %%i in ('git rev-list --count HEAD') do set Revision=%%i
+rem for /F %%i in ('svnversion build.no') do set Revision=%%i
REM Fix building not-svn repository (e.g., Git mirror)
if "%Revision:~0,11%" == "Unversioned" (set Revision=0)