Why does TortoiseSVN show icon overlays on the folders but not on the files - tortoisesvn

TortoiseSVN seemed to be slowing down my Windows Explorer a whole lot. So I scouted around and was reminded (via google) that there is a feature available via the TortoiseSVN Settings dialog where you can exclude certain paths from the Icon Overlay treatment.
So I excluded the whole of the D: drive (by putting the line D:* in the "Exclude paths:" area), and then included back my working folder (by putting D:\Petert\PWC* into "Include paths").
But now what happens is that the folders in my working folder get the Tortoise overlays, but not the files!

Well, it so happens that my folder is called " D:\Peter\PWC " - notice that I had accidentally included an extra "t", as in "Petert", in this folder name in the excluded paths as described in my question!
After correcting the typo in the "Exclude paths" text box - voila, my files also get the Tortoise icon overlays.
It seems to indicate something else: i.e. that if you exclude a folder and its subfolders from Tortoise's icon overlay feature, it will nonetheless flag any versioned folders. Which I suppose is quite helpful and probably doesn't take up too much time, etc., and anyway warns you that you have versioned files there which you might like to include via the "Include paths" in the Settings dialog.

Look at TortoiseSVN documentation. It says you may have problems with overloaded images if there are too many ovreloaded images installed in your system by other software.

This is the setting "Show excluded folders as normal" in action. That setting, if active, shows the 'normal' overlay for versioned folders, but since the folder(s) are excluded the status isn't fetched but only the normal overlay is shown instead. This is for performance reasons: it's much much faster to just check for an .svn folder than to fetch the whole status. But people still want to see whether a folder is versioned or not - that's why that option exists.

May not be the problem you were having, but I was finding the overlays were not on the files either and folder overlays seemed to always been green ticked. I found the setting under overalys to include network drives (my respositories were on network drives) and suddenly all the overlays started appearing for everything.

Related

How do I remove my changes on OpemCms 10.0.1?

I'm currently working with OpenCms 10.0.1 and have just created a "sub-sidemap" under "Sidemap" for a "Content page". How do I undo this? Nothing is published yet, so it is not published and only visible to people who can edit the page.
Question formulated differently: How can I delete / reuse my change?
I'm using FireFox.
it is not easy to answer your question, because I am not sure what you really want to do.
If you just want to delete your newly created folders you can easily delete them by right-clicking on the folder icon and choose "Delete". As your folders have never been published, they are deleted instantly. You could also change the folder type by selecting "Advanced" --> "Change type" in the context menu.
In case of an already published file or folder you can choose "Undo changes". This will undo all changes since the last publish.
If you are unsure, what kind of changes where made, you can compare versions by choosing "History" from the context menu.
Last but not least you can as well restore already deleted files by choosing "Advanced" --> "Restore deleted".
HTH
Have a nice day!
Best regards
Kai

Sort project folders in alphabetical order in Sublime Text 3 sidebar?

In the Sublime Text sidebar is there a way to have project folders displayed in alphabetical order, instead of by the order that the folders were added.
This is driving me nuts. I've searched everywhere for this and have given up, but it's so painful.
The contents of side bar folders are displayed in a sorted (lexical) ordering, with all sub-folders brought to the top instead of being in their natural sort position. There is currently no setting available or internal API that allows for changing that.
That said, the ordering of top level folders that you have manually added to your project is entirely under your control and defaults (as you've noticed) to the order that they were added in.
The folders in the sidebar are listed in the order that they're listed in the folders section of the sublime-project file. You can use Project > Edit Project to open your project file and manually reorder the elements in the folders list.
Additionally you can also click and drag the top level folders to change their relative ordering. Doing so causes Sublime to automatically rewrite the project file for you.
If the Project > Edit Project setting is not enabled, you haven't saved the current session as a project yet. In that case there will be no project file until you create one, but you can still drag to reorder the folders.
You can use sublime plugins for this. One that I can think of is SortTabs
In Sublime Text 3, if you have "Project Manager" installed use it to CLEAR RECENT PROJECTS. Then when you look for a project to open with Ctrl-Alt-P, they will be in alphabetic order.
To install "Project Manager" on the menu go to Preferences-Package Control, then click on Install Package. Scroll to find "Project Manager". Click on it to install. Restart Sublime Text. It will be on menu at bottom of Projects.

TortoiseSVN - New files are marked as ignored rather than unversion

I am creating new files on my project but for some reason they are marked by TortoiseSVN as ignored by default rather than unversion, so I keep check changes in without new files then I have to go manually to the folder right clicking on the file to add it to finally check it in, this make the whole process really annoying.
Any idea?
Regards
Possibly you configured to ignore all new files unintentionally.
Click the right mouse button in the project folder and then select TortoiseSVN > Properties.
If there is a property "svn: global-ignores" with Value "*" or "*.*", remove the property or edit it to remove the two mentioned values.
These files are ignored due to (some) ignore-rules. You have to detect this rule, if you don't want to continue adding files by hand

Additional icon to ratchet Ratchicon set

I am using Cordova, Phonegap and Ratchet for an iOS application.
How can I have additional icons with last version of Ratchet?
We tried to use bootstrap icon set but it has some kind of conflict with Ratchet CSS.
I added ratchet-ios7.css from Github, and it seems have more icons but I can not use them and the documentation link of the package is not working too.
Is there any solutions?
I had a similar problem, and managed to fix it as below. BUT, I didn't use this ratchet-ios7.css, and after looking a bit into that, it doesn't look like my answer will apply to that part of your question. This answer is specifically to add icons to the ratchet icons.
So then:
Go to http://icomoon.io/app/
Import the ratchicons.svg (found in the ratchet/ratchicons directory), and import the .svg of the icon set that you want to add to it. (They also have a bunch of their own icon sets as well)
Select any/all of the icons you want included (I suggest at least including all of the ratchicons, just to make sure it doesn't mess up with how the Ratchet stuff works and so you won't have to edit it yourself). When you're satisfied, click the "Font" button at the bottom of the window, and you'll see all the selected icons and their codes (the same ones that can be seen at the bottom of ratchet.css).
In the top left, make sure the "U+" is toggled to true. If it is a darker shade of grey and you see their unicode attributes underneath the icons (ex. "e600"), then it is set to true. I'm not entirely sure what the "fi" toggle does in terms of how it affects the code, but I just left it alone (just to play it safe).
Go through the list and change the names of any icons you want, if they don't accurately convey what they are and/or if they don't conform to the naming convention.
Also in the top-left, click the Preferences button, and in the Font Name input field, replace "icomoon" with "ratchicons". I don't remember if I changed the Class Prefix field or not, though I don't think it particularly matters (someone feel free to correct me on that). Lastly, make sure "Encode & Embed Font in CSS" is checked. Click the "X" button in the top-right.
When everything looks schpick-n-schpam, click the download button in the footer, and you'll get a zip folder.
Unpack that sucker and inside that you will see several folders/files; the one we're looking for is "fonts". Open that one. Inside that you will see 4 files, each one named ratchicons and each with a different file extension (all of which are the ones we need!). Copy all 4 files.
Nagivate to your ratchicons folder (the one you got the initial ratchicons.svg from), and just rename all these to something else (ex. "ratchicons.woff" -> "ratchicons_old.woff"), just to keep the working ones available. Now Paste the new files here.
Now, editing the ratchet.css file directly isn't the best practice, but this doesn't pose any problems as far as I've experienced, so we're going to do just that. Open up ratchet.css and go right to the bottom. You'll see all the .icon- css selectors that come standard with ratchet, and now we're going to add our new ones. Go back to the folder you downloaded and unpacked and open style.css. See all those .icon-*:before{} selectors, like the ones in ratchet.css? Copy all of those, and paste them over the ones in ratchet.css
You should now be able to use your new icons in the exact same way as the standard ratchet icons! Just use the icon's name you gave on the website in the class="" attribute. If you need to change a name or something, just make the edits in the ratchet.css. Also, for anything I missed and/or if you're curious, here's the docs for IcoMoon: http://icomoon.io/#docs
Update
As pointed out in the comments, in the unicode strings, the numbers in the code must be higher than 255. Otherwise, they will conflict with normal ASCII character unicodes. I'm not sure exactly what the lower limit is, but if you stick to much higher numbers (500s-900s) you shouldn't have to worry about it.

How do I permanently exclude the bin and obj folders from TFS 2012 checkin?

I mucked around with TFS settings and I accidentally included the bin and obj folders for TFS 2012 checkin, and even checked them in already. I don't want this because these files change often and aren't meant for inclusion.
I've checked What happened to "Exclude from Source Control" in VS2012. The accepted answer doesn't work because the bin & obj folders and the DLLs inside those folders don't appear in the "Promote Candidate Changes" list, even after excluding them. The second most popular answer also doesn't work permanently. I press yes to all and it removes them from the included changes list, but when I do any action involving rebuilding, they're added to include list again.
I'm looking for a permanent solution which will permanently exclude these folders and the files inside from checkin, and if possible also removes them from the TFS server.
TFS 2012 has the option to drop a .tfIgnore file in your workspace.
Visual studio has a UI to create the file for you:
While you can manually create a .tfignore text file using the above rules, you can also automatically generate one when the Pending Changes page has detected a change.
To automatically generate a .tfignore file
In the Pending Changes page, in the Excluded Changes section, choose the Detected changes link.
The Promote Candidate Changes dialogue box appears.
Select a file, open its context menu, and choose Ignore this local item, Ignore by extension, or Ignore by file name.
Choose OK or Cancel to close the Promote Candidate Changes dialog box.
A .tfignore file appears in the Included Changes section of the Pending Changes page. You can open this file and modify it to meet your needs.
The .tfignore file is automatically added as an included pending change so that the rules you have created will apply to each team member who gets the file.
Or create it from the command line using echo . > .tfIgnore and then open it using notepad.
Another trick is to name the file .tfIgnore. in explorer and save it. You'll probably be prompted if you want to change the extension, the answer, in this case, is: yes.
For Excluding Bin folders ,Tick "Show Solution Changes" Under View options in "Included Changes"
I called in the help of our TFS admin.
We couldn't make a .tfignore file, but what did work was the following:
Check in both folders in TFS;
Delete the dlls and pdbs which are unique to the project from the source control explorer and check in this change.
Rebuild the project locally, try to check in and confirm that there are no pending changes.
the dependent assemblies remain in TFS, but since these rarely change, this isn't a big issue.

Resources