diff hgdemandimport/__init__.py @ 42247:9893d7aa7420

branchcache: store the maximum tip in a variable inside for loop Instead of assigning self.tiprev multiple times in the for loop, and calling cl.node() on it, let's store that in a temporary variable and assign it in the end of loop. Differential Revision: https://phab.mercurial-scm.org/D6311
author Pulkit Goyal <pulkit@yandex-team.ru>
date Sat, 27 Apr 2019 02:13:43 +0300
parents 670eb4fa1b86
children 2372284d9457
line wrap: on
line diff