comparison mercurial/sshpeer.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 48fd02dac1d4
children 98e8313dcd9e
comparison
equal deleted inserted replaced
28500:2e1bceeea520 28501:66513f6ca038