Tortoise SVN not showing the ! exclamation - tortoisesvn

I am not sure why but sometimes my SVN project seems like it is not synced to SVN: the exclamations (!) on the folders go away and now i can't tell which folders I have made changes to.
I can still commit my files, but it makes it difficult to keep up with the changes I have made on the files. The files seem like they aren't even added to the project as if I copied/pasted them in there but haven't added/committed them yet.
Has anyone had the same problem?

Yes I have that problem all the time. I don't think there is a solution for it. Sometimes if I refresh the folder it updates it to green check mark but this is something tortoise needs to work on. I definitely feel your pain.

After restarting my computer, the icons showed up again..originally i restarted and it did not work, but after a while i restarted again and this time the icons came back.

Related

IntelliJ: Lost files after "Update project" and can't find them on Local history

I have a nodjs project and i use IntelliJ to run it. Lately the project structure is not appearing as it used to, as if the project was not compiling. So, while searching for answeres, I clicked on the "Update project" button on the right top, but quickly realised it was going to update based on what was on the remote repo.
I've been developing for a few weeks without a single commit because my company asked me to (don't ask why), and the code had sensible data so I didn't have a backup.
After clicking that button, IntelliJ asked me if I wanted to merge my project files with the remote ones, I just pressed Cancel, and that was enough for IntelliJ to merge my entire project and lose a bunch of files I've been working with.
Suprisingly, they're not even on the Local History list. Even though it says "279 files" there I can't click or find any of the files.
Despite not being able to find them, I went to the changes.storageData file under IntelliJIdea2017.2\system\LocalHistory, searched for the names of the files I'm looking for, and found them all there, which makes me think there's still a way of finding them.
So, does anyone know where I can find deleted files after pressing the git "Update project" button on IntelliJ when they're not on the Local History file list?
Thanks a lot in advance!
As I understand, the files were not committed, so Update could not delete them, because git merge/rebase do not start when there are uncommitted changes (see e.g. this question)
They were probably automatically stashed before the update, and not unstashed because the update was actually canceled.
So the first place to check is git stash VCS - Git - Unstash... or Shelf (if Update project is configured to use Shelf)

Rollback Get Latest on TFS

I had some changes on my local file but by mistake I took latest version from TFS. Now my changes have been lost. What can I do to take my unchange copy back? Please suggest.
Nothing. If you didn't commit your changes, they're gone.
Unless you added your previous changes to a shelveset (which is unlikely, otherwise you'd know they're there), your changes are gone.
Further reading, in case you don't know what a shelveset is:
What is shelving?
What is the purpose of a shelveset?
Though Daniel's answer is perfect one for the question, I want to share something with others who might face the same situation as mine. As I got latest version from TFS, new files were giving giving compilation errors hence there was change in source files but not in dlls. After surfing around I have found ILSpy link which helped to to recover my source code.

Can't Rollback Solution

I made some changes to my ASP.NET MVC 4 project that introduced a bug, so I wanted to rollback my project to the last check-in. This check-in works; it doesn't have any broken code. So I used the "Get Specific Version" option, navigated to my last check-in, and rolled it back.
It doesn't revert my code to my last check-in's code. It just puts a little red check mark next to all of the files that contain my broken code with a tooltip saying "Checked out to me".
So I decided to rollback to my very first check-in. Some conflicts auto-resolve; I keep all of the server's versions of files when it prompts me to. It doesn't revert my code to my very first check-in's code. What am I missing; how do I load the code from my last successful check-in?
I ended up figuring out how to fix this myself: after navigating to View > Team Explorer, I had eight Pending Changes that were hidden. Manually right-clicking these and selecting "Undo" reverted the files to the last successful check-in. Pretty basic stuff, but I figured I would post an answer rather than deleting my question entirely, because the process is a little confusing for a beginner (like myself).

How do I undo a rollback in TortoiseSVN?

I work with a shared SVN. Occasionally, there's a problem with the latest HEAD build, and I need to rollback to a previous version that works while it's being fixed.
I do this by going into the SVN logs, right-click on the revision and select "Revert to this revision", as described here: http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-howto-rollback.html
When the problem is fixed, how do I go back to the HEAD version (i.e. undo the rollback)? Updating does nothing. The only ways I have are a) deleting all my files and doing a fresh checkout, or b) going to the commit dialog and individually reverting my files (which brings them up to the HEAD version).
This seems pretty awkward and broken, so is there a better way of doing this?
Sounds like what you actually want to do is "Update to revision...", not actually a revert operation. If you know the HEAD (or revision X) is broken, right-click and use "Update to revision..." to update to the latest working revision number. When you're ready to update back to HEAD again just do a normal update. Think that should work anyway!
Edit: Note that I've not actually tried this, but sounds workable to me.

Dreamweaver falsely prompting about modified files

I use Dreamweaver 8 at work, and recently I've been having an issue with open files. When I move focus away from Dreamweaver to another piece of software (usually firefox for testing the results of uploaded files), and then move back to Dreamweaver I get a prompt saying: "This file has been modified outside of Dreamweaver. Do you want to reload it".
Edit: this is for every single file I have open in Dreamweaver so is quite unbearable!
Clicking yes or no both show exactly the same page! Nothing's changed, and nothing should have!
Any ideas why this might be happening? It's causing some issues because I work with another developer at work and I don't want my work overwriting. I assure you that he's not working on any of the same files or anything, and we've worked together for months and this has never happened before.
I'm very well aware that I can turn this prompt off, but in cases where files have actually changed, I'd want to be prompted.
I know Dreamweaver 8 is a joke.. but it's what we've got, and it's been fine up until now.
Any help would be greatly appreciated! :)
That behavior exists in CS5 too, so I'm pretty sure it is a bug. Are you working off a shared network drive?

Resources