Mercurial > hg
diff mercurial/pvec.py @ 48787:69000dc0dced
filemerge: reduce some duplication in `_maketempfiles()`
The two callers of the local `maketempfrompath()` function used the
returned file object in the same way. We can reduce duplication by
moving that code into the function.
Differential Revision: https://phab.mercurial-scm.org/D12192
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 14 Feb 2022 22:16:29 -0800 |
parents | d4ba4d51f85f |
children | 6000f5b25c9b |