gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] [PATCH] arch speedups on big trees


From: Chris Mason
Subject: Re: [Gnu-arch-users] [PATCH] arch speedups on big trees
Date: Wed, 24 Dec 2003 18:52:50 -0500

On Wed, 2003-12-24 at 17:53, Miles Bader wrote:
> On Wed, Dec 24, 2003 at 05:42:00PM -0500, Chris Mason wrote:
> > I added --quick to tla commit, and changed arch_make_changeset to take a
> > file list for passing to the inventory funcs.  This reduces the time to
> > do a commit from 3 minutes or more to 6 seconds when you specify the
> > file list, and the file list spec can include add/deleted/renamed files.
> 
> What's the point of `--quick' option?  If you've made changes that speed up
> commits of file subsets, why doesn't it simply use them whenever the user
> specifies such?
> 

Sorry, I wasn't clear. --quick skips inode signatures and tree-lint,
people probably want them on most of the time.

> Also, do these changes work for command-line specified files instead of
> --file-list (e.g, `tla commit -- file1.c file2.c')?  I suspect that's
> actually used much more often than --file-list.

--file-list and -- file1.c file2.c are the same.  I should stress these
changes are experimental, please don't use them without backups, and
definitely not on a main archive.

For adding/removing files, you have to include all the relevant files in
the list, including their id files.  It's easy to screw up, and mostly
meant for scripting.

-chris






reply via email to

[Prev in Thread] Current Thread [Next in Thread]