SVN - store-passwords=no - linux

i got a question concerning linux and svn.
I run ubuntu on a virutal box and actually I am not used to linux yet.
For researches I am connected to a svn-server, which I update often.
At the beginning I was asked if my password should be stored unecrypted. I choose to store the password but now I want to change it. I already googled a lot, but this didn't help me. It was often said to change to /etc/subversion/config but this directory doesn't exist, oly /subversion/ exists, but this folder is empty.
Can anybody tell me how I can set, that I always have to enter my password as soon as I do a svn up or svn commit? Please give a detailled description, because I am still used to Windows ;)
Thanks for help

Look in the $HOME/.subversion/auth folder, where $HOME is your home directory (i.e. /home/<username>). You should find a like like $HOME/.subversion/auth/svn.simple/<some_hex_string> which contains the stored credentials for your repository. Delete that file.
(To reset all your svn settings, you can just delete the $HOME/.subversion folder.)

Related

How to reclaim rights for the profile folder after changing the username in Windows 10?

I recently changed my username in Windows 10 and I just discovered that all folders and files in my profile folder are now write-protected. I also can't remove the write-protection.
The profile folder is still named by the older username. Is there a way to fix this or do I have to change my username back?
Sure, had that user password or some kind of key? create a live usb with Hiren's boot, open NT Password and you can solve it, there are times that usually happens and with that tool, in the cases that have happened to me, it has worked.
Regards
PD: Download it from here, you will have to save it on a USB, also you have the steps: https://www.hirensbootcd.org/download/

Tortoisesvn error passwd:6: Section header expected

Sorry for asking but I need to access a remote repository. I was given an account on the server side and i have installed tortoise svn on my client machine. the problem is i cant access, update or commit changes because i keep geting the above error. I think i have to make some changes in the .conf file but I do not know which changes to make exactly. thanks in advance
There is an error in C:\repository\conf\passwd which contains usernames and password for authentication. Take a closer look at the file, fix it and this should solve the issue.

In Perforce, how can I check in a file previously checked out on another machine/workspace?

I hope I'm not asking a question that's already been answered, but I can't seem to find one that fits my situation.
Scenario: Using P4V gui (2011 version), with no access to P4 command line, on Windows 7.
The setup: A user creates a workspace in Perforce from Machine A, pointing that workspace to a shared network drive, and checks out a file for editing.
Machine A then dies before the user can check in the file. The user is then assigned Machine B, for which he must create a new workspace (which is also pointed at the same shared network drive).
The problem: The problem we're having is that even though the workspace from the dead Machine A and from the new Machine B both point to the same location, Perforce considers them to be different workspaces and prevents the user from checking in/submitting the previously checked out file.
Any suggestions on how to check in this stranded file would be greatly appreciated. Thank you very much!
To be nice and clean, I'd suggest this:
Make a backup copy of the file as it exists on the shared network drive.
Connect to the depot from Workspace A (can be done from Machine B if the workspace isn't bound to Machine A).
Revert the file - this will overwrite the file on the drive with the version in the depot (aren't you glad you made a copy first?).
Switch to Workspace B.
Check out the file.
Copy the backup version over the file on the shared network drive.
Check in the file.
...and if you're not planning on using Workspace A anymore, I'd suggest deleting it.
Have you tried clearing out the Host field? For example, see 'Using the same workspace from different machines':
http://www.perforce.com/perforce/doc.current/manuals/p4guide/chapter.configuration.html#d0e1720
As an update from my comment response, if you need to change ownership of a changelist, the steps are documented here:
http://answers.perforce.com/articles/KB_Article/Changing-the-Owner-of-a-Pending-Changelist

OwnCloud Remove all files prompt

I have a owncloud server and the owncloud desktop client.What I want to do is to be able to delete things server wise and have it automatically delete from the pc. The problem is that the owncloud client displays a warning message of "Remove All Files"? with the choices of Remove all files or to keep files when the files are deleted from the server. Is there a way to not have the prompt come up and automatically remove all files?
In the version 2.2.3 (maybe earlier), you can change the configuration file to disable the prompt.
See the code where the prompt is invoked and the code showing the configuration file property.
If you edit (on Windows): c:\Users\myuser\AppData\Owncloud\owncloud.cfg and add the following, under the [General] section, you will no longer get the prompt.
promptDeleteAllFiles=false
The short answer: You cannot change this currently.
The long answer: The dialog was added as a safe-guard because there were cases where you could lose all your files unintentionally, e.g. if your admin re-created your account and left it empty. The client would assume the files had gone and would replicate this (it could not know better), so it would replicate the data removal locally. The code is still there today just to be safe.
If you are fearless, you can patch Folder::slotAboutToRemoveAllFiles(). Alternatively, you could open a bug report so we can solve this for everyone. What is your motivation to be able to do this without a prompt?
PS: The sources can be found on GitHub. URL and build instructions at http://doc.owncloud.org/desktop/1.5/building.html.
I have a script that processes the files that someone drops into ownCloud and it will then move them to the final storage place. However, this prompt stops the client from syncing until I manually log in to acknowledge it... I guess I will learn how to patch this.. Dropbox doesn't do this. Google Drive doesn't do this. But since I can't use cloud services (compliance issues), I have to use this solution until I can build a new secure upload means.

Can't approach svn working copy

I've created a svn repository on a linux computer. For this repository I've also created a working copy named myfirstproject. In order to get the URL of it I've typed in "svn info". The answer was
"svn://localhost/myfirstproject".
Now I want to approach this working copy from windows computer. I've tried doing it via netbeans for the first time and tortoiseSVN as well. I've tried to approach svn://my_server_domainName/myfirstproject, but it was failed.
what should I suppose to do? Is there any other URL address I need to type?
Thank you

Resources