# HG changeset patch # User Augie Fackler # Date 1533840989 14400 # Node ID ca053fc7efc5ed63a41bcae0d45770cf08b7d3a5 # Parent c8a40b33ce30b6567eb237673563fca933afa675 fastannotate: record some TODO items from indygreg's review Some of these I'll address more or less right away, but some will take a while for us to resolve. Differential Revision: https://phab.mercurial-scm.org/D4200 diff -r c8a40b33ce30 -r ca053fc7efc5 hgext/fastannotate/__init__.py --- a/hgext/fastannotate/__init__.py Wed Aug 01 11:10:41 2018 -0400 +++ b/hgext/fastannotate/__init__.py Thu Aug 09 14:56:29 2018 -0400 @@ -98,6 +98,32 @@ perfhack = True """ +# TODO from import: +# * `branch` is probably the wrong term, throughout the code. +# +# * replace the fastannotate `modes` configuration with a collection +# of booleans. +# +# * Use the templater instead of bespoke formatting +# +# * rename the config knob for updating the local cache from a remote server +# +# * remove the remotefilelog-peer-sharing functionality +# +# * move various global-setup bits to extsetup() or reposetup() +# +# * assume repo.requirements will always exist +# +# * move `flock` based locking to a common area +# +# * revise wireprotocol for sharing annotate files +# +# * figure out a sensible default for `mainbranch` (with the caveat +# that we probably also want to figure out a better term than +# `branch`, see above) +# +# * format changes to the revmap file (maybe use length-encoding +# instead of null-terminated file paths at least?) from __future__ import absolute_import from mercurial.i18n import _