diff options
-rw-r--r-- | subcmds/sync.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index 2e6afccc..1d778e1e 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -1121,6 +1121,15 @@ later is required to fix a server side protocol bug. | |||
1121 | 1121 | ||
1122 | 1122 | ||
1123 | def _PostRepoUpgrade(manifest, quiet=False): | 1123 | def _PostRepoUpgrade(manifest, quiet=False): |
1124 | # Link the docs for the internal .repo/ layout for people | ||
1125 | link = os.path.join(manifest.repodir, 'internal-fs-layout.md') | ||
1126 | if not platform_utils.islink(link): | ||
1127 | target = os.path.join('repo', 'docs', 'internal-fs-layout.md') | ||
1128 | try: | ||
1129 | platform_utils.symlink(target, link) | ||
1130 | except: | ||
1131 | pass | ||
1132 | |||
1124 | wrapper = Wrapper() | 1133 | wrapper = Wrapper() |
1125 | if wrapper.NeedSetupGnuPG(): | 1134 | if wrapper.NeedSetupGnuPG(): |
1126 | wrapper.SetupGnuPG(quiet) | 1135 | wrapper.SetupGnuPG(quiet) |