From d7f92c2d7aa070d8ebc73e2de4ff8e72a0070f53 Mon Sep 17 00:00:00 2001 From: carnie Date: Thu, 21 Mar 2013 03:54:27 +0000 Subject: [PATCH] Making modifications to getrev, requested by Nodrak x You can now change the link to your github project by modifying config/git_host.txt Removed config/svndir.txt, as it is no longer needed. Signed-off-by: carnie --- code/datums/helper_datums/getrev.dm | 6 +++++- config/git_host.txt | 1 + config/svndir.txt | 5 ----- 3 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 config/git_host.txt delete mode 100644 config/svndir.txt diff --git a/code/datums/helper_datums/getrev.dm b/code/datums/helper_datums/getrev.dm index 4ebbacb4b99..802ebd2fe57 100644 --- a/code/datums/helper_datums/getrev.dm +++ b/code/datums/helper_datums/getrev.dm @@ -7,11 +7,15 @@ var/global/datum/getrev/revdata = new() //Oh yeah, I'm an OOP fag, lalala /datum/getrev - var/project_href = "https://www.github.com/tgstation/-tg-station" + var/project_href var/revision var/showinfo New() + if(fexists("config/git_host.txt")) + project_href = file2text("config/git_host.txt") + else + project_href = "https://www.github.com/tgstation/-tg-station" var/list/head_log = file2list(".git/logs/HEAD", "\n") for(var/line=head_log.len, line>=1, line--) if(head_log[line]) diff --git a/config/git_host.txt b/config/git_host.txt new file mode 100644 index 00000000000..270e84d5c5b --- /dev/null +++ b/config/git_host.txt @@ -0,0 +1 @@ +https://www.github.com/tgstation/-tg-station \ No newline at end of file diff --git a/config/svndir.txt b/config/svndir.txt deleted file mode 100644 index 5c907c92f1f..00000000000 --- a/config/svndir.txt +++ /dev/null @@ -1,5 +0,0 @@ -#Path to the .svn directory. Used to get server revision info. -SVNDIR .svn - -#Link to revision details. -REVHREF http://code.google.com/p/tgstation13/source/detail?r= \ No newline at end of file