How to reset TotroiseSvn infos? - tortoisesvn

I use TortoiseSVN at work, I started recently this job. Before I,
other developer's Tortoise username and password's have recorded on
pc. I have to remove other developer's infos but I could'nt. Although
I tried remove tortoisesvn program and I downloaded again but I
didn't do it, infos have recorded on pc still.
additionally, I tried to clean authorized datas on setting but this
button is disabled.

Try the following:
Right click in any folder, go to “TortoiseSVN” on the context menu;
Select “Settings”; In the settings box, locate the item called
“Saved Data”; Click the “Clear” button that sits next to
“Authentication Data”;
from here https://placona.co.uk/changing-authentication-settings-tortoisesvn/

Related

How to stop backgrounddownload exe

As per attached screen shot BackgroundDownload.exe is running in background and consuming lots of internet data. How it can be stopped?
This however does not stop VS from recreating BackgoundDownload.exe in 'random' temp directories and trying again. There must be some other missed option. Perhaps disabling the scheduled task in 'task scheduler' would finalize the change.
Through control panel, or other means,
open 'Task Scheduler'. in the navigation pane on the left side, navigate to
"Task Scheduler Library>Microsoft>VisualStudio>Updates"
when there, you will see a task named 'BackroundDownload'
Right click on this task and either disable, or delete it.
Please check if its checked “Automatically download updates” in VS2019?
Uncheck it.
Tools->Options->Environment->Product Updates->Automatically download updates
The same update process initiated by from Visual Studio Code. You can disable it via settings menu (and do not forget to uncheck sending telemetry)
It's possible to turn background downloading off for all installed Visual Studio products by creating/changing a registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\Setup\BackgroundDownloadDisabled = 1
Source: https://developercommunity.visualstudio.com/t/visual-studio-background-downloader-keeps-running/948890#T-N950950
Please go to your connectivity setting I mean I am using my hotspot from mobile.
go to your wifi icon on windows 10.
then select properties and it will take you to another screen.
there is toggle switch called metered connection. select it .
That's it if wants to download also it cannot.
As a default windows does not allow you to download any updates in background.
You can do it when you are want. .[Step 2][2]
there is another way
Open Windows Defender Firewall With Advanced Security from the search next to Start
Then click on (( Outbound Rules -> New Rules ))
Now a new page will open, click ( Program ), then click (Next)
Now click on (This Program Path)
And enter this URL :
(%ProgramFiles% (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\BackgroundDownload.exe)
Now click Next again and select Block The Connection on this page and click Next again
Do not touch anything on this page (Profile) and click on Next
Finally, select a name in the (Name) field and write a series of descriptions if needed

How can I get Windows-10 to remember my default app?

I have cygwin installed on my new Windows-10 PC and I have a file "foo.bash" on my desktop that I need to be able to double-click on and have c:\cygwin64\bin\bash.exec open it (foo.bash is a shell script being interpreted by bash.exe). On my previous PCs I simply double-clicked the program, browsed til I found/selected bash.exe, clicked the "always use this app" button and from then on double-clicking on foo.bash would always open it using bash.exe.
On my new Windows 10 laptop I initially had the same experience but then after a couple of days I created a file named "bar.bash" and was surprised to get prompted for what type of app to open it with. bash.exe was listed so I selected that, clicked the "always open with" again and that was fine but then when I had to open it again later I found that the "always open with" hadn't stuck. So I repeated and could not get Windows to remember to open that ".bash" extension file bar.bash with "bash.exe"
So I went back and double clicked on the original "foo.bash" and it opened with bash.exe. I tried changing it's "open with" to Notepad to see if that would stick and it didn't AND then I found I could no longer get bash.exe to stick either.
So now every time I double-click on a file with a ".bash" extension I have to click on bash.exe to open it. I have tried associating the extension with the app from the file properties, from the Settings menu, and everywhere else that any web page I can find tells me will work and none of them work - I 100% CANNOT get Windows 10 to remember to open ".bash" files with "bash.exe".
I also followed the steps at https://www.winhelponline.com/blog/remove-file-association-windows/ to delete the references to a ".bash" extension from the registry and that changed the popup prompt for which app to open the file with but after once again selecting bash.exe and "always open with", I was back once again to having to repeat the process every time I open the file.
Does anyone have any real ideas on how to do this? I assume it'll involve some arcane procedure to edit registry entries or something else that I REALLY don't want to be messing with but I've exhausted all of the "normal" ways that this should work from a user perspective.
Eureka! In a flash of inspiration I restarted Windows in Safe Mode (a chore in itself these days - see https://www.digitalcitizen.life/4-ways-boot-safe-mode-windows-10) and then right-clicked on foo.bash, searched for bash.exe again, selected it and now after rebooting back out of safe mode the association with "bash.exe" is still in place for all my ".bash" files.
So the trick is - go into safe mode to permanently associate the file suffix with the app.

Recovering files deleted by Android studio?

I'm working on an app at the moment, and one of the final steps was to get it built and signed in Android studio.
Unfortunately I was having some problems, and one of the recommended solutions was to remove the project and start again, however when I did this it took all of my files with it, and they're not in the trash (OSX) either.
Is there anyway to recover these files, or are they lost forever? :(
In my case I was looking for the file named 'landing_page222.java' which I deleted one day back.
Following Steps can help you to find your previously deleted files in Android Studio.
Step 1: Right Click on the folder where you deleted the file
Step 2: Find option for Local History and Click Show History.
Step 3: Find your File from Given List.
Hopefully it will be available in Instance
Step 4: Copy the code back as per need.
You can try:
looking for those files in the file system (perhaps they are still in your Android Studio projects folder)
looking in your OS's temp folder
using Android Studio's history feature (right-click on the Project tab > Local History > Show history)
Click whereever you want in the left frame (for example "drawable" file is ok) and then press CTRL+z. You are going to see "Undo delete popup" window.
And as you understand, when you press CTRL+z in Android Studio, which (XML or Java) file is active, you will undo the action on that tab. So, if you click any file on the left side and press the CTRL+z combination, you will undo the action at the file structure.
Go to View > Recent Changes > Click on the file you want to recover > Click "Revert"
Im late but this works. Go to the folder where u want to recover. right-click, local history. select ones you deleted and click revert. :)

TFS Pending Changes keyboard commands in VS2012

I'm using VS2012 with TFS2010 (which may or may not matter).
I cannot seem to get any of the keyboard commands that should work with the Pending Changes window to, y'know, work.
I've tried the steps listed here, and I've tried binding keys to ever "CompareWith" commands listed in the keyboard dialog. The only ones that actually seem to do anything are the File.* commands, but those operate on the open file, and not the Pending Changes window.
I've seen that commands like Alt-I (check-in) work, but they don't appear in the Keyboard settings.
Does the new window in VS2012 have its own set of keyboard settings that are set somewhere else? I'm trying to get to the point of have an keyboard-only workflow for Comparing, the Excluding or Undoing.
Update:
This is really strange. I can actually see the shortcut keys in the right-click dialog, but pressing them does nothing. I then tried changing it to a chord, and I get the error message: "The key combination (Ctrl+Shift+Q, Ctrl+Shift+Q) is bound to command (Tfs.ContextPendingChangesPageExcludeChanges) which is not currently available"
Update 2: I found this blog post, which has some more shortcuts listed, but not that actually do operations on the individual files. For quick reference, here's his list:
Shortcut Team Explorer Page
Ctrl+' Search
Ctrl+0,H Home
Ctrl+0,P Pending Changes
Ctrl+0,M My Work
Ctrl+0,W Work Items
Ctrl+0,B Build
Ctrl+0,R Reports
Ctrl+0,D Documents
Ctrl+0,S Settings
Ctrl+0,A Web Access – team home page
F5 Refresh
Ctrl+Up Move focus to the previous visible section header
Ctrl+Down Move focus to the next visible section header
Alt+Left Navigate backward
Alt+Right Navigate forward
Alt+Home Focus the navigation control
Alt+0 Focus the page top level content
Alt+[1-9] Focus the visible section [1-9] level content
Alt+Up Focus the previous visible section content
Alt+Down Focus the next visible section content
There is a bug with key bindings in some Team Explorer pages in VS 2012 RTM. This has been fixed for the next VS 2012 update.
-Chad

Subclipse (1.8.5) requires cleanup / refresh cycle to detect changes made with TortoiseSVN (1.7.4)

My problem:
Subclipse does not update locked status overlay icons in eclipse after I lock/unlock some files with TortoiseSVN in windows explorer (and vice versa).
Is this expected behaviour or am I missing a setting?
The files have the svn property "svn:needs-lock" set.
I can sync Subclipse again by first clicking "Team - Refresh/Cleanup" and then "Refresh F5".
I am not a 100% sure but I think with Subclipse 1.6.x and TortoiseSVN 1.6.x I was able to just hit F5 in eclipse, and the status was refreshed correctly.
Thank you for your time.
I do not think you should have to do the second F5, but we added the Team > Refresh/Cleanup option for this reason.
With pre-SVN 1.7.x releases any change in the working copy caused files in all of the hidden .svn folders to be modified. When you hit F5 in Eclipse, it would see these changed files and fire off notifications that Subclipse would see and use that to refresh decorations.
With SVN 1.7, all this information is consolidated in a single location, and it sounds like it probably does not even live inside your Eclipse project folder. So F5 in Eclipse effectively does nothing because no files on the filesystem that Eclipse can see has been modified. Eclipse does not send out any notifications.
The Team > Refresh/Cleanup option calls the same Eclipse action as F5, but it also triggers an explicit refresh of SVN cached information regardless of whether Eclipse sees any changes.
Just to explain in more detail how to create the keyboard shortcut:
I was once pretty desperate to get this keyboard binding to work and after a lot of head banging found out that I also had to enable the "SVN Command Group" in my eclipse perspective (as explained here: SVN key bindings not working in Eclipse):
You can bind the F5 key to the "Cleanup/refresh" option of the SVN menu.
First,you must go to Window dropdown menu > Customize Perspective > Command Groups Availability and there check the SVN box.
With this option you will get a dropdown menu called SVN with all the relevant commands.
Then you go to Settings > General > Keys :
unbind the F5 key if you want to use this key
bind the command %CleanupAction.label to F5 or any key you may find useful (like Shift+F5 if you don't want the F5 key to be unbind.)

Resources