svn commit: r342774 - head/sys/conf
Enji Cooper
yaneurabeya at gmail.com
Sat Jan 5 19:49:59 UTC 2019
> On Jan 4, 2019, at 10:38, Andrew Gallatin <gallatin at freebsd.org> wrote:
>
> Author: gallatin
> Date: Fri Jan 4 18:38:27 2019
> New Revision: 342774
> URL: https://svnweb.freebsd.org/changeset/base/342774
>
> Log:
> Limit git history searches in newvers.sh
>
> newvers.sh takes upwards of 4-5 seconds to complete on trees checked
> out from github, due to searching the entire history for non-existent
> git-svn metadata. Similarly, if one does not check out notes, we
> again search the entire history for notes. That makes newvers.sh very
> slow for many github users.
>
> To fix this in a fair way, limit the history search to the last 10K
> commits: if you're more than 10K commits out of sync, then you've
> forked the project, and our SVN rev is no longer very important to you.
>
> Due to how git implements --grep in conjunction with -n, --grep has been
> removed for performance reasons (git does not seem to limit its search
> to the -n limit in this case, and takes just as long as it did with no
> limit).
Wonderful — thank you Andrew :)!!
-Enji
More information about the svn-src-all
mailing list