[Top][All Lists]

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

Re: [Monotone-devel] speed of "mtn ls branches"

From: Richard Levitte
Subject: Re: [Monotone-devel] speed of "mtn ls branches"
Date: Thu, 17 Jan 2008 09:49:36 +0100 (CET)

In message <address@hidden> on Thu, 17 Jan 2008 19:40:09 +1100, William Uther 
<address@hidden> said:

willu.mailingLists> # patch ""
willu.mailingLists> #  from [bd12d9df9a26a4fc189681a3a374a211357ab9d2]
willu.mailingLists> #    to [d776611e29b3a5f1b99fb0d67c4a0e12895dfa5d]
willu.mailingLists> #
willu.mailingLists> ============================================================
willu.mailingLists> --- bd12d9df9a26a4fc189681a3a374a211357ab9d2
willu.mailingLists> +++ d776611e29b3a5f1b99fb0d67c4a0e12895dfa5d
willu.mailingLists> @@ -281,7 +281,7 @@ CMD(branches, "branches", "", CMD_REF(li
willu.mailingLists>     globish exc(app.opts.exclude_patterns);
willu.mailingLists>     set<branch_name> names;
willu.mailingLists> -  app.get_project().get_branch_list(inc, names);
willu.mailingLists> +  app.get_project().get_branch_list(inc, names, 
willu.mailingLists>     for (set<branch_name>::const_iterator i = names.begin();
willu.mailingLists>          i != names.end(); ++i)
willu.mailingLists> I'm not sure if that should be committed or not.
willu.mailingLists> It reduces 'time ls branches
willu.mailingLists> --ignore-suspend-certs' on my monotone db from 7s
willu.mailingLists> down to less than 0.1s.  But it means ignoring the
willu.mailingLists> validity of certs in this case.
willu.mailingLists> Thoughts?

If the user is explicitely asking for the suspend certs to be ignored,
why should we not allow it, especially since --ignore-suspend-certs is
a global option?


Please consider sponsoring my work on free software.
See for details.

Richard Levitte                         address@hidden

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis

reply via email to

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