Tags at the base of a stable branch get picked up twice
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
reno |
New
|
Undecided
|
Unassigned |
Bug Description
Take the following git repo:
* e12c6cf (HEAD -> master) Fix a bug on master
* 37a0ae9 doc: Handle multiple branches in release notes
| * 37adb10 (tag: 1.0.1, stable/1.0) Fix a bug on stable
|/
* af01c51 (tag: 1.0.0) Release 1.0
* 0faba45 Integrate reno
* a7beb14 (tag: 0.1.0) Add documentation
* e23b0c8 Add gitignore
* ff980c7 Initial commit
We've branched off _after_ the initial 1.0.0 release. Commit 'af01c51' contains a release note with a prelude for 1.0.0. This should only show up in the logs for the stable/1.0 branch. However, when you build docs, it shows up on both.
We should probably check if a commit exists in multiple places. If it does, go for the (oldest?) stable branch and drop it elsewhere.
Demonstration here: https:/ /github. com/stephenfin/ reno-bug- 1748162