D4819: identify: only query remote bookmarks if needed
Yuya Nishihara
yuya at tcha.org
Tue Oct 2 07:52:54 EDT 2018
> + bmscache = [None]
> def getbms():
> + if bmscache[0] is not None:
> + return bmscache[0]
Looks good, but I think `getbms()` can be a `@util.cachefunc`.
More information about the Mercurial-devel
mailing list