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