Issue #16 resolved

Overlay Icons for the Toplevel (Root) folder

Anonymous avatarAnonymous created an issue

Is it possible to add an overlay icon to the projekt directory wich contains the repository. I woulb be nice to open the root projekt folder an see in wich state my projekts are. now i have to go into an back to check all projekts.

Comments (8)

  1. Steve Borho

    This would be potentially expensive to calculate, as we would have to walk the entire repository to determine if it was clean. It's something to consider for the future, though.

  2. DannyWan

    Well as soon as you have fixed issue #36, I think you should consider to add this icon. This is something TortoiseSVN do and I find it very usefull as the reporter of this issue does.

  3. Adrian Buehlmann

    This would be sure nice to have but even with the C++ shell extension this would be painfully slow for any non-toy situation (I tried it). Consider having 10 clones of netbeans or python-trunk in a dir A: this means stat-ing (i.e. checking file sizes and modification times) of 40'000 files each time you open A.

    On another note, it might be possible to simply persistently cache the whole output of hg status into a private file in each repo (maybe ".hg/thgstatus"?) and just display what's in there. Question left would be: when would we update the thgstatus file and what about disks (e.g. flashs drives) that should not be written to? A simple solution would be to add an "update icons" command to the context menu, but then imagine having to do that for all 10 clones in the directory A mentioned above... Sigh, quite a couple of problems to think about first before this feature could happen.

  4. Marcus Lindblom Sonestedt

    Have you considered using some sort of notification events (push), rather than just checking (poll)?

    That would speed things up a bit, even if it means registering _many_ directories to watch with the OS.

  5. Anonymous

    Right now there's no way to tell from the explorer windows that there are files missing/removed from the repo root directory. Maybe having the status on the top folder icons will help.

  6. DannyWan

    I have notice that sometimes the overlay icons of TortoiseSVN is not perfectly up to date, but I only need to press F5 in the explorer to refresh them (and there's no "update icons" in the context menu).

    I don't know if TSVN is using a cache, but I guess so (the famous "TSVNCache" that sometimes takes all your ressources and that you have to kill to get back you explorer responsive).

    Maybe you should look on how TSVN does this to see if you could use the same kind of technic?

  7. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.