I am trying to write a bash script that creates shortcuts to specific folders on a repository. The problem is that I want to run it on computers other than my own, but the location of the checked out location of this repository varies based on the computer. Is there a way to find out where that is for each computer.
Windows 7 Pro
TortoiseSVN 1.7.10, Build 23359 - 64 Bit , 2012/10/08 11:46:26
Subversion 1.7.7,
You could create custom environment variable such as MY_SVN_PROJECT_DIRECTORY on Windows 7 by right-clicking on computer, clicking on "Advanced system settings" and choosing "Environment Variables" button on the resulting dialog. Then have your bash script check the value of that variable when creating shortcuts.
Related
I am trying to install redhat (rhel8) in virtualBox 6.1 on a windows 10 64 bit Home edition machine.
I verified the checksum of the iso file after download and its correct (I compared the checksum against another friend iso file who is able to install properly), still I am getting exception like
dnf.exceptions.error some packages from local repository have incorrect checksum
I even tried to run troubleshooting, but it raise exceptin like
failed to start media check on /dev/sr0 virtualbox
I have downloaded the iso files from multiple places and every time it gives me the same exception.
Any help is highly aprreciated.
Finally I found the reason for the above error.
Virtual Box uses virtualization to run multiple Operating Systems and in one system (let's say a windows machine) only one of the application will be allowed to use system virtualization capability.
So we have to disable any manual virtualization if performed in the system.
So we can disable virtualization by following ways:
Search for “Turn Windows features on or off” in the Start menu, hit
the Enter key to open the Windows Features window. Here, scroll down
to Hyper-V and disable it by clearing checkbox next to it. Then click
OK
Disable Hyper-V by using command.
Press Windows logo key + X, then hit A to run Command Prompt as administrator. In Command Prompt window, type
bcdedit /set hypervisorlaunchtype off
and hit Enter key to execute this command.
Finally restart system.
No matter which of the three tizen studio 2.0 installers I try they all don't work as they won't accept any path. The CLI installer gives the most detailed description:
** The directory you specify is not allowed to install the Tizen Studio. Some tools of the Tizen Studio will not properly work in the directory with administrator privilege or read-only access rights for your account.=> path
I have tried starting the installer with admin rights and owning the destination folders. Additionally, I switched from JDK 9 to 8.
Still, there seems no way to get the installer running. Any ideas what the reason could be? Thanks!
I managed to install tizen studio and the SDK using the %appdata% path.
If anyone else has the problem, try e.g.
C:\Users\YourName\AppData\Roaming\Samsung\tizen-studio
This is definitely a flaw Samsung should take care of!
I've successfully installed the IDE version with the following method:
Download Tizen Studio Web IDE installer
Open installer with 7-zip archive manager
You should find tizen-sdk.zip archive
Open it and extract it into the C:\tizen-studio folder
Create C:\tizen-studio-data folder
Create sdk.info file inside C:\tizen-studio folder
Put following lines into this file
TIZEN_SDK_INSTALLED_PATH=C:\tizen-studio
TIZEN_SDK_DATA_PATH=C:\tizen-studio-data
You can download packages with C:\tizen-studio\package-manager\package-manager.exe
You can start IDE from C:\tizen-studio\ide\TizenStudio.exe
This worked for me, hope this helps...
#Henry was almost correct and his scenario works on CLI/IDE installers.
And here are actual restrictions on Win10x64 tizen-studio 2.0 installation I've found:
pointed SDK location needs to be in your user directory. For example:
C:\Users\MrSmith\Tizen\tizen-studio
Data location could be anywhere, but in case of CLI installation, it will be near SDK folder.
CLI installation actually does unzip only and all further system configuration needs to be done manually. So, if you need only CLI, you could unzip "web-cli_Tizen_Studio_2.0_windows-64.exe" with 7zip or any other proper archiver where you want and do further manual configuration. (See here https://developer.tizen.org/development/tizen-studio/web-tools/cli)
Probably, if you login under Administrator you will be able to install SDK anywhere. Just "Run as administrator" doesn't work, at least for me.
My system params:
Win10 Pro x64
Oracle JDK 1.8.0_152
Have a fan ;)
I solved this problem that way:
create folder (eg Tizen_Studio)
inside created folder create new (tizen_studio and tizen_studio_data)
add all permissions for that folders for your windows account user
select folders in installation proccess
Enjoy!
The regular way which Samsung provides is working for me:
Make sure you have enough disk space (Tizen Studio needs about 700 MB
on Win10)
Create an empty folder with 2 empty subfolders (e.g. Tizen_IDE->studio (subfolder #1) -> data (subfolder #2)
The important part on Windows 10 is to navigate to YOUR users directory:
For example your user name is Bob. Go to C:\ -> Users -> Bob.
Then create there the empty folder "Tizen_Studio" with the 2 mentioned subfolders.
Check with right-clicking on the Tizen_Studio folder -> Properties -> Security if your Username (here Bob) is listed in groups and users. Click on your profile there in the security tab and look if the folder has full access rights inside the checkboxes (btw this should be automatically set if you choose the right described environment).
Now in the installer dialog you can choose the studio folder for the ide/sdk and the data folder for the installing data request path.
Thats it! Just important to install it inside your username folder!
I had this problem as well (on my Windows 8.1 machine), and ended up using the previous version of Tizen Studio Installer (version 1.3)
https://download.tizen.org/sdk/Installer/tizen-studio_1.3/
It even does not work for me in %APP_DATA% and also not running the installer with Administrative privileges.
But I finally found a solution which worked for me:
Create a new and folder somewhere
disable all inherit privileges on this folder
grant explicit all privileges for your users to this folder
remove all other privileges, especially these for Administrator
Use this folder for Installation
Write useful sofware for tizen ;-)
How bout removing 32 bit Java client and installing 64 bit on win 10?
Worked for me, no one seemed to notice that Installer opened in 7zip has an installer.jar which needs to be run with java client.
Thanks for the advises on opening installer with 7zip.
I've recently installed a fresh win8 copy. After installing tortoiseSVN, it does recognize the folders as being under version control (the menu items are there), but no overlays on the icons.
I Checked the registry settings as described here: TortoiseSVN icons not showing up under Windows 7
But the first 9 entries are all for tortoiseSVN and there are 4 others, so no problems there.
What could be the problem?
Go to regedit. Find HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers.
Add space before folders, example: "1TortoiseNormal" -> " 1TortoiseNormal".
Restart computer.
Works for me.
Go to TortoiseSVN > settings > Icon Overlays > Status cache changed from default to shell.
If the drive A, B or network is used check that drivew
Please try this :
Sometimes you just have to restart Windows (if not already done).
You could also have to do a "Cleanup" (right click, Tortoise SVN shell entry) of your working copy, and to check "Refresh shell overlays" in the window.
Also, please review "Icon overlays" tab of Tortoise settings (right click, Tortoise SVN shell entry, Settings) settings of your tortoise SVN, especially if your working copy is (for example) on amovible or network drive.
In my case, the problem was that I was working on a network drive. By default, Tortoise doesn't show icons on network drives.
To enable the icons on other types of drive, right-click in Windows Explorer and go to:
TortoiseSVN --> Icon Overlays --> Drive Types
This may also solve the problem in other cases, where other drives are in use and not showing icons for you.
you have to do an svn actualization (in my case a fully checkout). just restart the explorer (or computer) after configure the registry did not show the overlay icons in my case
Modifying the registry, tsvn clean up etc did not help anything.
Solved it by killing the process 'TortoiseSVN status cache' in task manager. Icons reappeared one by one after that.
In TSVN settings I've set the Status Cache to default (was None initially), but not sure this had anything to do with it. Also restarted explorer.exe to be sure.
I had an older/non-compatible version (1.6) of TSVN installed before updating to latest (1.8.8). This could have been part of the problem.
I have been experiencing a problem with tortoise .
when i checked out the code the tortoise icons usually green or red on the folders are not coming.Any solution???
Thanks in advance.
1 - Check If Your TortoiseSVN Settings are Correct
Right-Click in an SVN Folder >> TortoiseSVN >> Settings
Select Icon Overlays:
1. Status Cache to Default
2. Drive Types: (SELECT) Network Drive, Fixed Drive
2 - Find out if there are too many Icon Sets installed in Windows
Window allows up to 11 IconSets, if other programs like DropBox are installed they will hijack those spots
Since we are working in the registry, be careful not to edit things, unless you are sure!
Run regedit
Navigate to: HKEY_LOCAL_MACHINE/SOFTWARE/MICROSOFT/WINDOWS/EXPLORER/ShellIconOverlayIdentifiers
If there are more than 11 Folders, then you have too many IconSets
:: In my case, it was because of DropBox - the folder names were ("DropboxExt1","DropboxExt2") and my Tortoise was named (1TortoiseNormal,2TortoiseModified)--The problem is that Windows reads this and enables them based on alpha numeric order ('"' comes before '1' in the alphanumeric stack)
SOLUTION : If you had the same problem as me, you can simply rename the Dropbox registry listings. I renamed my Dropbox listings from('"DropboxExt1"') to ('X"DropboxExt1"'), just adding an 'X' to the beginning of the registry. >>Restart your machine to see the registry listing take effect.
Try also to repair the installation, if you upgraded from 1.6.8 or 1.6.9. Just re-launch the TortoisSVN installer and choose "Repair". There are known problems with overlay icons and TortoiseSVN upgrades (see this blog post).
If you have checked out your code onto a network, or removable drive, you need to set some preferences to see the icons.
Please refer the following link
http://tortoisesvn.net/node/97. I have also experienced simillar problem and the icon usually starts appearing after two or three reboots.
Also refer the following links
http://gavtaylor.co.uk/blog/missing-tortoise-svn-shell-icon-overlays
TortoiseSVN icons not showing up under Windows 7
You can go to TortoiseSVN>Settings>Icon Overlays>Status Cache.
If default is selected then change from default to shell. If shell is selected then change it from shell to default. it should fix it.
Maybe it depends on your platform? You need to install 64-bit TortoiseSVN if you want the TortoiseSVN Overlay icons in Windows Explorer, because Windows Explorer is 64-bit on Windows 64-bit.
see http://tortoisesvn.net/faq.html#nomenus
Make sure you have installed the x64 version of TortoiseSVN if you're
using XP or Vista 64-bit. Since the explorer on those OS versions is a
64-bit application, it can not load the 32-bit version of TortoiseSVN.
You can still keep the 32-bit version of TortoiseSVN installed on
those OS versions though: it will show up in the 32-bit applications
file-open/save dialogs of those applications.
In the recent versions of the TortoiseSVN, old _svn folders are deprecated. it's better to rename them to .svn.
attrib -h _svn
rename _svn .svn
attrib +h .svn
Using Windows 7 Ultimate on 64bits. Why isn't it showing? I can find tortoise svn in the start menu and when I launch it it says the application is a shell extension but it doesn't show.
I just installed this at work this morning and now I want to install it at home. Any help? Why won't it show? I have already rebooted my machine.
Did you install the 64-bit version?
You need 64 bit TortoiseSVN on 64 bit Windows because otherwise, its Explorer won't "see" Tortoise.
The best thing is actually to install both to make sure Tortoise works in the folder views of 32-Bit applications like IDE's, too.
Note that x64 users can install both the 32 and 64-bit versions side by side. This will enable the TortoiseSVN features also for 32-bit applications.
If you get the TortoiseSVN specific commands when right-clicking a file or folder in Explorer, it works.
Did you reboot? You need to restart explorer.exe
TortoiseSVN is a shell extension and not a regular desktop application like WinCVS. All commands are available from the Context menu. I suggest be first familiar with svn commands and how they work and then try to use the same commands through TortoiseSVN.