Closed Bug 1562666 Opened 9 months ago Closed 2 months ago

Close obsolete heads on the various release branches

Categories

(Developer Services :: Mercurial: hg.mozilla.org, task)

task
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: RyanVM, Assigned: RyanVM)

References

Details

+++ This bug was initially created as a clone of Bug #1249802 +++

mozilla-beta, mozilla-release, and mozilla-esr60 all have a number of heads for old relbranches which correlate to long-dead releases.

https://hg.mozilla.org/releases/mozilla-beta/branches
https://hg.mozilla.org/releases/mozilla-release/branches
https://hg.mozilla.org/releases/mozilla-esr60/branches

These open heads can cause confusion for developers unsure which to base their work off.

Looking at the lists above, only THUNDERBIRD_60_VERBRANCH on esr60 and maaaybe GECKOVIEW_67_RELBRANCH on mozilla-release look worth keeping open at this point. All the rest have long-since served their purpose and can be retired.

(In reply to Ryan VanderMeulen [:RyanVM] from comment #0)

These open heads can cause confusion for developers unsure which to base their work off.

Developers should be cloning mozilla-unified and doing work off the single esrXX bookmark in that repository. AFAIK nobody should be cloning the esr repos for the purpose of development.

We can still close the heads out of course, but I think we should be pushing developers to mozilla-unified as the fix for this workflow papercut.

No need to worry about ESR60 at this point since it's EOL. I went ahead and followed the procedure from bug 1249802 comment 3 on Beta and Release. Per discussion with Connor, we felt that the merge step was probably unnecessary, though, so it ended up just being:

for b in hg branches | awk '{print $2, $1}' | sort | awk '{print $2}' | grep -v default; do echo $b; hg up $b; hg commit --close-branch -m "Bug 1562666 - Close old branch $b" -d '1581439351 0'; done

https://hg.mozilla.org/releases/mozilla-beta/pushloghtml?changeset=e09b93f410124a33479b8398e57ff8847542ffa5
https://hg.mozilla.org/releases/mozilla-release/pushloghtml?changeset=c3ae099560ed53bbc8ef75f29461a7fef66f28fa

We're done here!

Assignee: nobody → ryanvm
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.