Unverified Commit 38175590 authored by Nicola Soranzo's avatar Nicola Soranzo
Browse files

Merge branch 'release_23.1' into release_23.2

parents bd4a5293 9b60a8c4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -218,6 +218,9 @@ def create_repository(
        dir=app.config.file_path,
        prefix=f"{repository.user.username}-{repository.name}",
    )
    # Created directory is readable, writable, and searchable only by the creating user ID,
    # but we need to make it world-readable so non-shed user can serve files (e.g. hgweb run as different user).
    os.chmod(repository_path, util.RWXR_XR_X)
    # Create the local repository.
    init_repository(repo_path=repository_path)
    # Create a .hg/hgrc file for the local repository.