aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspreis <spreis@yandex-team.com>2023-11-27 17:18:51 +0300
committerspreis <spreis@yandex-team.com>2023-11-27 19:00:55 +0300
commit8bf26747ee1e047d0c37cf921248ad1a1755aab7 (patch)
treed431c9de7e2a0b9615998a8aae54f79df7a6a631
parent435da9112bc0282e73e673d5663a225d78b70ec4 (diff)
downloadydb-8bf26747ee1e047d0c37cf921248ad1a1755aab7.tar.gz
Get rid of SVN
SVN_DEPENDS is not used for a quite a long time
-rwxr-xr-xbuild/ymake_conf.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/build/ymake_conf.py b/build/ymake_conf.py
index d9cf1ebc6d..d71122cb3e 100755
--- a/build/ymake_conf.py
+++ b/build/ymake_conf.py
@@ -703,30 +703,8 @@ class Build(object):
CuDNN(cuda).print_()
if self.ignore_local_files or host.is_windows or is_positive('NO_SVN_DEPENDS'):
- emit_with_ignore_comment('SVN_DEPENDS')
emit_with_ignore_comment('SVN_DEPENDS_CACHE__NO_UID__')
else:
- def find_svn():
- for i in range(0, 3):
- for path in (['.svn', 'wc.db'], ['.svn', 'entries'], ['.git', 'logs', 'HEAD']):
- path_parts = [os.pardir] * i + path
- full_path = os.path.join(self.arcadia.root, *path_parts)
- # HACK(somov): No "normpath" here. ymake fails with the "source file name is outside the build tree" error
- # when .svn/wc.db found in "trunk" instead of "arcadia". But $ARCADIA_ROOT/../.svn/wc.db is ok.
- if os.path.exists(full_path):
- out_path = os.path.join('${ARCADIA_ROOT}', *path_parts)
- return '${input;hide:"%s"}' % out_path
-
- # Special processing for arc repository since .arc may be a symlink.
- dot_arc = os.path.realpath(os.path.join(self.arcadia.root, '.arc'))
- full_path = os.path.join(dot_arc, 'TREE')
- if os.path.exists(full_path):
- out_path = os.path.join('${ARCADIA_ROOT}', os.path.relpath(full_path, self.arcadia.root))
- return '${input;hide:"%s"}' % out_path
-
- return ''
-
- emit_with_ignore_comment('SVN_DEPENDS', find_svn())
emit_with_ignore_comment('SVN_DEPENDS_CACHE__NO_UID__', '${hide;kv:"disable_cache"}')
@staticmethod