comparison mercurial/setdiscovery.py @ 28501:66513f6ca038

commands: centralize code to update with extra care for non-file components This patch centralizes similar code paths to update the working directory with extra care for non-file components (e.g. bookmark) into newly added function updatetotally(). 'if True' at the beginning of updatetotally() is redundant at this patch, but useful to reduce amount of changes in subsequent patch.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Sat, 12 Mar 2016 04:35:42 +0900
parents c3eacee01c7e
children bd872f64a8ba
comparison
equal deleted inserted replaced
28500:2e1bceeea520 28501:66513f6ca038