On 2008 Apr 14, at 8:20 AM, TK Soh wrote:
> On Mon, Apr 14, 2008 at 1:05 PM, Douglas Philips wrote:
>> As overlay icons are a hot topic, I am wondering about the lack of an
>> overlay on the top level folder of a repo.
>> ...
> It's intentional. Mercurial simply isn't fast enough for the purpose
> of overlay icons display. If you have a folder that house multiple
> mercurial repos (pretty common practice, I believe), it will take near
> infinite time to display the content of the folder, if we are to
> display the status of repo roots.
I'm not quite sure I understand, or if I asked the question I
intended to ask.... :)
I have a folder: C:\MyRepos and in that folder I have directories
(repo roots): Repo1, Repo2, Repo3, Repo4
When I navigate to C:\MyRepos\Repo1 I get all the icons and I can see
at a glance that everything is green; similarly for Repo2, Repo3, and
Repo4.
When I navigate to C:\MyRepos, I cannot see a glance whether my repos
are all green or not.
Under my system (which isn't super, but isn't rusting edge either :),
it seems to take about 0.25 +/- 0.03 seconds to get an hg status (as
reported by hg --time stat). I am surprised to find (now that I think
to go looking) that Mercurial doesn't have a 'exit status only' flag
to simply report to the invoker if the repo is clean or not. I don't
know if that would (or could) speed up this determination or not.
Assuming that there isn't a way to speed up the underlying mercurial
operations, would be it be OK to have some kind of configuration that
would let me pay that penalty? Maybe it could be a special file that
would say: Show the status of my sibling directories (C:\MyRepos
\.showRootOverlayIcons)? or some Mercurial.ini setting? (I'm not
married to the policy, just desirious of the ability to see at a
glance). Since Mercurial still prefers to have clones over in-repo
branches, I would find this very useful.
Thanks,
--Doug
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss