Replace a few references to Subversion with Git.

There are a whole bunch more of these around, but these were the
ones I was confident replacing.
This commit is contained in:
Augustin Cavalier
2015-06-19 15:36:52 -04:00
parent b87e672a05
commit 6eafb4b041
4 changed files with 7 additions and 10 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
# ---------------------- # ----------------------
# UserBuildConfig can be used to customize the build according to your needs. # UserBuildConfig can be used to customize the build according to your needs.
# If existent it is included by the build system, but it is ignored by svn. # If existent it is included by the build system, but it is ignored by Git.
# This file documents a few examples, what can be done. Don't just rename it # This file documents a few examples, what can be done. Don't just rename it
# to UserBuildConfig -- you don't want all the things to happen, that are # to UserBuildConfig -- you don't want all the things to happen, that are
# specified here. Rather create an empty UserBuildConfig and copy the lines # specified here. Rather create an empty UserBuildConfig and copy the lines
@@ -125,7 +125,7 @@ AddSourceDirectoryToHaikuImage src/tests/servers/debug : alwaysUpdate ;
# Copy the jam sources (assuming they are located ../buildtools/jam relatively # Copy the jam sources (assuming they are located ../buildtools/jam relatively
# to your Haiku sources) to the image as /boot/home/Desktop/jam-src, excluding # to your Haiku sources) to the image as /boot/home/Desktop/jam-src, excluding
# any file or directory named ".svn" and any source path that matches the # any file or directory named ".git" and any source path that matches the
# pattern "*/jam/./bin.*". Note that the "*" character needs to be escaped with # pattern "*/jam/./bin.*". Note that the "*" character needs to be escaped with
# two backslashes (one because it goes through a shell and one to quote the # two backslashes (one because it goes through a shell and one to quote the
# first one in jam), and that the build system always appends "/." to the source # first one in jam), and that the build system always appends "/." to the source
@@ -134,7 +134,7 @@ AddSourceDirectoryToHaikuImage src/tests/servers/debug : alwaysUpdate ;
# also be copied in update mode. # also be copied in update mode.
CopyDirectoryToHaikuImage home Desktop CopyDirectoryToHaikuImage home Desktop
: $(HAIKU_TOP)/../buildtools/jam : $(HAIKU_TOP)/../buildtools/jam
: "jam-src" : -x .svn -X \\*/jam/./bin.\\* ; : "jam-src" : -x .git -X \\*/jam/./bin.\\* ;
# Extracts the given archive onto the image under /boot/develop/tools. # Extracts the given archive onto the image under /boot/develop/tools.
ExtractArchiveToHaikuImage develop tools ExtractArchiveToHaikuImage develop tools
@@ -5,8 +5,5 @@
# This file is a standard bash script. For more information regarding shell # This file is a standard bash script. For more information regarding shell
# scripts, refer to any online documentation for "bash scripting" # scripts, refer to any online documentation for "bash scripting"
# set Pe as the default svn editor for entering commit logs.
# export SVN_EDITOR=lpe
# Set important variables # Set important variables
# export IS_COMPUTER_ON=1 # export IS_COMPUTER_ON=1
+1 -1
View File
@@ -7,7 +7,7 @@
#include <system_revision.h> #include <system_revision.h>
// Haiku SVN revision. Will be set when copying libroot.so to the image. // Haiku revision (hrev). Will be set when copying libroot.so to the image.
// Lives in a separate section so that it can easily be found. // Lives in a separate section so that it can easily be found.
static char sHaikuRevision[SYSTEM_REVISION_LENGTH] static char sHaikuRevision[SYSTEM_REVISION_LENGTH]
__attribute__((section("_haiku_revision"))); __attribute__((section("_haiku_revision")));
+1 -1
View File
@@ -37,7 +37,7 @@ def run(fileSet, rules, outputFileName):
def visit(result, dir, names): def visit(result, dir, names):
extensions = [".cpp", ".h"] extensions = [".cpp", ".h"]
names.remove(".svn") names.remove(".git")
for name in names: for name in names:
path = os.path.join(dir, name) path = os.path.join(dir, name)
if os.path.isfile(path) and os.path.splitext(name)[1] in extensions: if os.path.isfile(path) and os.path.splitext(name)[1] in extensions: