Mercurial > hg
comparison contrib/python-hook-examples.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 | a8d13ee0ce68 |
children | 2b585677220e |
comparison
equal
deleted
inserted
replaced
28500:2e1bceeea520 | 28501:66513f6ca038 |
---|