Tortoise SVN Icon Overlays Displaying Everywhere...Why? - windows-vista

Update: So, this turns out to have nothing to do with Tortoise SVN. I use Mozy.com for off-site backups and their new version includes these icon overlays. They can be disabled via the config options...or see here http://forum.pcmech.com/showthread.php?p=1385433. Thanks #OS for the answer.
Been using Tortoise SVN for some time on my Vista box. Within the last few days (and after recently upgrading to 1.5.4) the icon overlays are displaying on all files.
My exclude path is:
*
My include paths are:
C:\Users\jw\Documents\Visual Studio 2008\Projects\SVNProjects*
C:\Users\jw\Documents\VB Projects\SVNProjects*
I haven't touched those settings in months. Any ideas? Help. Thanks.

Something like that happened to me a few days ago and it turns out it's not related to Tortoise... I'm using Mozy to backup files automatically and their latest update includes icons very similar to Tortoise to mark backed-up files.

Icons usually appear for folders for files in a folder that have a hidden .svn subfolder. It sounds like your icon cache is corrupt though. You might also want to check the Icon Overlays section in the Settings dialog. If it's using the default icon cache, try killing the TSVNCache.exe process. If it's using the chell cache, kill explore.exe, in a cmd window go to %USERPROFILE%\AppData\Local, type "attrib –h IconCache.db" and then "del IconCache.db" and re-start explorer.exe.

The icons can disappear because there is a limit to the number of overlays Windows will support.
See http://tortoisesvn.net/faq.html#ovlnotshowing

agree with marxidad,
you can also try to rebuild the tortoisesvn icon cache using
TortoiseProc.exe
/command:rebuildiconcache
from the command line.

Related

Restore deleted files in visual studio code in the code management menu

I am really devastated because I have accidentally deleted 3 of my files in Visual Studio Code. I did it through the Source Code Management menu on the left side. Now my question... Is there any possibility to restore the 3 files I deleted like this? I would appreciate any answer and maybe you want to know: I use Windows
:-(
I tried to look into the recycle bin of windows but it isn't there. :-(
vscode maintains a file-history using its latest TIMELINE view.
How to restore deleted git-untracked files in vscode:
Create the files with the same name at the same directory.
Go to TIMELINE on the File Explorer.
You can get the older versions of the files.
No, you cannot recover those files using VS Code or standard tools. They aren't put in the recycling bin (or your operating system's equivalent), they are removed using git cleanor git reset --hard. Condolences :-(
There are of course utilities for recovering deleted files that may or may not be successful, but that is outside the scope of this question.
I accidentally removed a file that wasn't even checked in to git. Google brought me here. The file wasn't in the Trash can either (Ubuntu 18.4 VS Code 1.31.1). Looking at the git output I can see that it used git clean -f to remove it by force).
Fortunately the file was still in the editor. Just press Ctrl+P and type the file name. It should show up in the list of files and if you open it, it says "FILE_NAME (deleted from disk)" on the tab. Just copy/paste the content to where it should be.
if you accidently click the delete menu option right below rename, as long as you don't panic and like restart your computer or something you can open that directory in the file explorer on your computer
and right click.
there should be options there to undo delete or whatever else you did to the directory.
Open VSCode's command menu, and type "Local History" and select "Local History: Find Entry to Restore." Then type the name of the file you deleted.
This has worked for me when "undo" in the file tree has not.
Super easy, and has saved me from despair.

Stop TortoiseSVN from tracking my desktop

I didn't use TortoiseSVN much in university and hasn't used it since graduation until recently. The first and only time I touched it at work, I was trying to remember how to use it. I don't remember what I did but now TortoiseSVN is tracking my Desktop folder so I can see a red icon on my Desktop in the File Explorer (you know, that icon that indicates the folder is not synced with the repo).
It was never intended for the Desktop to be part of my project team's repo, I was just messing around. So I want to remove that icon i.e. stop TortoiseSVN from tracking my Desktop permanently. How do I do that?
Just delete the hidden .svn folder from your desktop
Delete hidden folder ".svn" on your Desktop.

Android Studio: Refactoring cannot be performed when importing images

All of a sudden this morning I am unable to drag png files into my drawable folders in Android Studio. I get the message "Refactoring cannot be performed - the file is read-only". I have confirmed that these files are not read only and have tried this with numerous image files in different locations on my Mac. Any ideas as to how this can be fixed please?
PS - This is occurring in all my Android Studio projects. I am running Android Studio 0.5.9 on OS X 10.9.3
I managed to solve it somehow. Just copy and paste the *.png you need in your drawable folder instead of dragging it. Turns out there's a problem with moving it
Later edit: holding ALT whilst dragging the files should also do the job. Thanks #RunLoop
Right click the file you're attempting to add to, go to "Show in explorer" and then drag the files there. Worked for me!
Update to the most recent JDK here. The currently accepted answer by user DDsix worked for me, but that is a workaround. Updating the JDK will bring full functionality back.
I believe this is related to the following issue on the AOSP bug tracker.

Windows 7 .ico file being replaced with cached version

I'm having a problem exactly like the one in this very short video.
http://www.youtube.com/watch?v=912c6sQAsH0
I do not feel comfortable running a downloaded .exe file from a third party unknown developer as suggested by the link from the youtube page.
Does anyone know how to manually solve this problem?
Thanks.
Another way to rebuild the icon cache in Windows 7 without a restart is to change momentarily the screen color depth to 16 bits, for example, and when Windows asks you whether you want to keep the changes or not, click "No" to restore the original settings. This will invalidate the icon cache and Windows will recreate it instantly.
The problem is something called icon cache. Windows saves all recent icons in one file so that it does not have to gather icons all over the disk. This speeds up the system start.
Googling with the term "windows 7 rebuild icon cache" (without quotes) I was able to determine that icon cache is stored in file %USERPROFILE%\AppData\Local\IconCache.db and that all you need to do is rename it and restart Windows, like it's described here. Explorer has a hold of that file so you can't just delete it. There is a .bat file that makes it easy to delete the cache. You can download the file from here.

How to change Firefox icon?

Is there any way to change Firefox system icon (the one on the left top of the window)?
Precision : I want to change the icon of a bundled version of Firefox with apache/php and my application. So manual operation on each computer is not a solution.
I try Resource Hacker and it's the good solution. The add ons one is good too.
Resource hacker does the job of swapping application icons in Windows (up to XP, not tested with Vista yet).
Available at:
http://www.angusj.com/resourcehacker/
#phloopy's good suggestion to use http://iconpacks.mozdev.org/ unfortunately doesn't work with newer versions of Firefox (I think to the omni.jar change). You can still use their ICO files (or your own), but you now need to do the following manual steps...
Unzip omni.ja in your Firefox application directory.
Delete omni.ja or rename it (e.g. omni.ja.off).
Create directories icons/default in the Firefox chrome application directory.
Copy the icon file you want to chrome/icons/default/main-window.ico
Start Firefox and enjoy your new icon
Notes:
There are other ICO file names you can use for other windows. The ones I have personally seen work are:
main-window.ico for browser windows and Scratchpad
downloadManager.ico for Downloads
If you know others please comment so I can add them. I personally would love one for Firebug and the Error Console. One for Library (Bookmarks) would be nice also (bookmark-window.ico does not work).
Your start time will be a little slower (due to the unzipping of omni.ja). In theory you can jar it up again, but I am not 100% sure that will work once they get the omni.ja optimization working again (it's "broken" in Firefox 10 so omni.ja is actually normal JAR/ZIP file).
If you let Firefox update you will need to do this again
Note many zip tools cannot read Firefox’s variation on the JAR format (see https://bugzilla.mozilla.org/show_bug.cgi?id=605524).
More info is available at http://iconpacks.mozdev.org/docs/faq.html
There are icon packs available at http://iconpacks.mozdev.org/ that work by installing an extension. If you want to use your own icon, extensions are just zipped files so change the extension from xpi to zip and examine the source code and images it contains to customize it. If you do customize it, I suggest changing the GUID that so it doesn't auto-update and overwrite your customizations.
I think you mean the system icon, not the site icon as someone else thought. On a Mac, you can hold-Click -> Get Info on Firefox.app, then drag or paste an image on top of the icon.
I'm not sure about Windows, but I think you may need to compile from source to change it.
If you're talking about the application icon (which under Windows is typically located in the top-left corner of the application's window), then... no... and yes.
Like most windows apps, the icon you see there is probably a resource compiled into the application itself, so you can't change it.
There may be add-ins to Firefox that let you do this, but I doubt it - that icon is trademarked and "identifies" the Firefox "brand" (if you will). So it's unlikely that you could change it at run-time.
Firefox is open-source; you could always just download & compile your own version, replacing the icon resource with your own. A bit dramatic, but possible.

Resources