Closed Bug 1522212 Opened 7 years ago Closed 3 years ago

"mach try release" should not leave leftover files

Categories

(Release Engineering :: Release Automation, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mossop, Assigned: gbrown)

Details

After running "mach try release" I always end up with a bunch of orig files in the source tree.

which files end up being changed?

? browser/config/mozconfigs/linux32/l10n-mozconfig.orig
? browser/config/mozconfigs/linux64/l10n-mozconfig.orig
? browser/config/mozconfigs/macosx64/l10n-mozconfig.orig
? browser/config/mozconfigs/win32/l10n-mozconfig.orig
? browser/config/mozconfigs/win64-aarch64/l10n-mozconfig.orig
? browser/config/mozconfigs/win64/l10n-mozconfig.orig
? browser/config/version.txt.orig
? browser/config/version_display.txt.orig
? browser/confvars.sh.orig
? browser/locales/l10n-changesets.json.orig
? browser/locales/shipped-locales.orig
? build/mozconfig.common.orig
? config/milestone.txt.orig
? mobile/android/config/mozconfigs/android-aarch64/debug.orig
? mobile/android/config/mozconfigs/android-aarch64/nightly.orig
? mobile/android/config/mozconfigs/android-api-16/debug.orig
? mobile/android/config/mozconfigs/android-api-16/nightly.orig
? mobile/android/config/mozconfigs/android-x86/debug.orig
? mobile/android/config/mozconfigs/android-x86/nightly.orig

I'm guessing that, depending on your hgrc, the revert here is generating backup files.

Should we add -C --no-backup do not save backup copies of files ?

(In reply to Tom Prince [:tomprince] from comment #3)

I'm guessing that, depending on your hgrc, the revert here is generating backup files.

Looks like saving .orig files is the default behaviour of revert.

(In reply to Aki Sasaki [:aki] from comment #4)

Should we add -C --no-backup do not save backup copies of files ?

Those are synonyms so yeah adding one or the other would solve this.

Have not been able to reproduce this for a while.

Assignee: nobody → gbrown
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.