[Bug 3854] New: The bash completion script for filenames stats every file in the working dir

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Mar 12 17:51:06 CDT 2013


http://bz.selenic.com/show_bug.cgi?id=3854

          Priority: normal
            Bug ID: 3854
                CC: bos at serpentine.com, mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: The bash completion script for filenames stats every
                    file in the working dir
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: sid0 at fb.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: unspecified
         Component: Mercurial
           Product: Mercurial

The bash completion script for filenames calls `hg status -n[mard]* .`. That
stats and walks through all the files in the working directory. That is
enormously slow for large repositories and probably isn't necessary in most
cases.

There's a debugcomplete command to complete options -- perhaps there needs to
be a similar command for filenames that pokes at the dirstate without stating
everything.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list