Defect #6857

git references leaking from subproject to project

Added by Bernhard Furtmueller over 6 years ago. Updated over 3 years ago.

Status:NewStart date:2010-11-09
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:SCM
Target version:Candidate for next minor release
Resolution: Affected version:1.0.3

Description

Since redmine can't share repositories to subprojects yet we added the repository twice (to project and subproject).

Now trackers which are referenced in the repository get commit messages attached twice. One time from the project's repo and one time from the subproject's repo.

I'd consider this leaking a bug (or a first step to shared repos ;) )


Related issues

Related to Redmine - Feature #1657: Subprojects can share their parent project's repository New 2008-07-17
Related to Redmine - Patch #2144: Patch for main-level repository Closed 2008-11-07 2008-11-07
Related to Redmine - Patch #2256: Allow commit messages to refer to issues in project ances... Closed 2008-12-01
Related to Redmine - Feature #3687: Possibility to link all projects to a single SVN repository New 2009-07-29
Related to Redmine - Patch #9359: invert project <-> repository relationship New 2011-09-30
Duplicated by Redmine - Defect #8225: Revisions that reference issues are duplicated if their r... New 2011-04-26
Duplicated by Redmine - Defect #5126: Associated revision shown multiple times Closed 2010-03-19

History

#1 Updated by Bernhard Furtmueller over 6 years ago

I think there were already some attempts getting the root problem (sharing repos) fixed or asked.

Feature #1657 Subprojects can share their parent project's repository
Patch #2144 Patch for main-level repository
Patch #2256 Allow commit messages to refer to issues in project ancestor tree, not just project

#2 Updated by Etienne Massip over 5 years ago

  • Target version set to Candidate for next minor release

Yet to be confirmed.

#3 Updated by Mischa The Evil over 5 years ago

Etienne Massip wrote:

Yet to be confirmed.

I haven't looked into this issue deeply but considering r3357 for issue #4674, which was included first in Redmine 0.9.2, it looks like it is logical behavior.

#4 Updated by Fernando Hartmann over 4 years ago

+1
This happens to me too

#5 Updated by Ivan Cenov about 4 years ago

This happens in 2.2.3.stable too with Subversion repositories.

#6 Updated by Jethro Yu about 4 years ago

This happens in 2.2.3.stable too with git repositories.

#7 Updated by Ralph Twele over 3 years ago

I have this happening with 2.3.0. It is not only related to parent-child Projects. I have one repository containing a document describing general development rules. This is included in many Redmine projects. If I commit a change to the document referencing a ticket the new revision will be listed in the ticket multiple times.

#8 Updated by Go MAEDA over 1 year ago

  • Duplicated by Defect #5126: Associated revision shown multiple times added

Also available in: Atom PDF