GSoC project suggestions?

Greg Ward greg-hg at gerg.ca
Sun Jan 30 10:41:32 CST 2011


On Fri, Jan 28, 2011 at 5:05 PM, Matt Mackall <mpm at selenic.com> wrote:
> GSoC is coming up soon, so we should try to gather some new project
> ideas.

Two ideas, both related to slow status calls:

1) continue improving inotify.  issue2324 (it doesn't work with
standalone scripts) is a deal-breaker for me; as long as that bug is
open, I cannot suggest inotify to my users at work, and they are stuck
with sloooow "hg status".

2) speed up "hg update" by making it smarter about unknown files.
I.e. don't call status(unknown=True), because that call is sloooow.
Instead, check if an untracked file exists only for the files that we
know we are going to update.

(Incidentally, "hg status" is slow for us because we have 20,000
source files, 110,000 build products with no consistent way of placing
build products, and therefore a long and complex .hgignore regex.  I
think we have discovered a Mercurial anti-pattern.  ;-)

Greg


More information about the Mercurial-devel mailing list