diff hgdemandimport/tracing.py @ 48785:b53f2f5a18de

filemerge: move removal of `.orig` extension on temp file close to context The place where the `.orig` extension is removed in `_maketempfiles()` doesn't make it clear that it's the backup path, which is why we have a comment in the code explaining it. Let's instead move it out of the function and close to where we get it from `backup.path()`, so that becomes clear. Differential Revision: https://phab.mercurial-scm.org/D12190
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 14 Feb 2022 22:04:50 -0800
parents 2372284d9457
children 6000f5b25c9b
line wrap: on
line diff