diff mercurial/dispatch.py @ 45708:60c46cc28bf4

commit: pass ChangingFiles object as argument to _process_files Instead of returning it, we pass it as an argument. This makes the whole if-else in `_prepare_files` a bit simpler. Else each if-else branch was creating the object. Differential Revision: https://phab.mercurial-scm.org/D9194
author Pulkit Goyal <7895pulkit@gmail.com>
date Sat, 10 Oct 2020 13:19:25 +0530
parents d2e1dcd4490d
children 0fc8b066928a
line wrap: on
line diff