Mercurial > hg
comparison mercurial/fancyopts.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 | 9d2b2df2c2ba |
children | 2eb8ad899fa6 |
comparison
equal
deleted
inserted
replaced
45707:035302e6bb38 | 45708:60c46cc28bf4 |
---|