Project

General

Profile

Actions

Patch #9359

open

invert project <-> repository relationship

Added by Jens Krämer over 14 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-

Description

This patch changes the relationship between repositories and projects, so that a single repository can be shared among multiple projects.

While you can already use the same physical repository with multiple projects without this patch, doing so leads to duplication of change records in the database as well as multiple identical changeset references on issues, because each changeset is imported n times, where n is the number of projects referencing the repository.

The patch changes Redmine's behavior to re-use an already existing repository record if possible, when the scm properties of a project are configured. A migration converting existing installations that use one ore more repositories in multiple projects to the new setup is included.


Files


Related issues

Related to Redmine - Feature #3169: Multiple repositories for projectsClosed2009-04-14Actions
Related to Redmine - Defect #6857: git references leaking from subproject to projectNew2010-11-09Actions
Related to Redmine - Feature #9703: Define repositories independently from projectsNewActions
Actions

Also available in: Atom PDF