summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2021-12-20 17:30:33 -0500
committerMike Frysinger <vapier@google.com>2022-01-06 08:28:37 +0000
commit41289c62b45e4ae4c9cfffc4acaadd1c4f17e149 (patch)
treec826885517b66633ff76ff75f3b1ce4bec2f2593 /project.py
parentc72bd8486a23e4c4ab94cab2706fc6dfac445cf1 (diff)
downloadgit-repo-41289c62b45e4ae4c9cfffc4acaadd1c4f17e149.tar.gz
project: stop symlinking svn under .git/
This path only matters to users of `git svn` who manually run it in local projects after they get a full repo client checkout. With svn usage falling in general, and with the fact that the source checkout now symlinks its .git/ state to the internal projects/ path, we don't need to manage this anymore. It means the path won't be shared among multiple local projects that have the same remote, but so it goes. It was an optimization only, not functionality required for correctness. We want to simplify the internals to stop messing with git state, and this particular path doesn't seem worth the effort to maintain. We don't undo any existing svn symlinks if they exist since repo does not care about them, and their existence doesn't hurt anything. Bug: https://crbug.com/gerrit/15460 Change-Id: Ie8496b275bcc589771aa9f4ee874ed2ee6d5241d Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/327517 Reviewed-by: Jonathan Nieder <jrn@google.com> Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'project.py')
-rw-r--r--project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/project.py b/project.py
index a2b98d83..db44cde5 100644
--- a/project.py
+++ b/project.py
@@ -458,7 +458,7 @@ class RemoteSpec(object):
458class Project(object): 458class Project(object):
459 # These objects can be shared between several working trees. 459 # These objects can be shared between several working trees.
460 shareable_files = ['description', 'info'] 460 shareable_files = ['description', 'info']
461 shareable_dirs = ['hooks', 'objects', 'rr-cache', 'svn'] 461 shareable_dirs = ['hooks', 'objects', 'rr-cache']
462 462
463 def __init__(self, 463 def __init__(self,
464 manifest, 464 manifest,