tortoisesvn

svn “no element found” error

北城余情 提交于 2019-12-04 02:28:35
I am new to subversioning. I wanted to checkout already existing project in my system. But, when I did this in console: svn checkout urlname It asked me for password, but I gave it wrong password by mistake. When I tried it second timee, it didn't ask me for password but gave an error message: unable to connect to a repository at URL The OPTIONS request returned invalid XML in the response: XML parse error at line1: no element found (urlname) Any idea about what I am doing wrong here? Start Menu > Tortoise SVN > Settings to show the settings dialog box. From Saved Data dialog, click on 'clear'

Could not read chunk size. Error in SVN

怎甘沉沦 提交于 2019-12-04 01:40:44
I have recovered SVN repository from crashed PC and now I can checkout files from few directories but in one place during checkout it says: Error: REPORT of '/svn/RepTest/!svn/vcc/default': Could not read chunk size: Secure connection truncated (https://mypc:8443) Could anyone help me, how to fix that repository? Thanks! I've just had the same error when trying to update a checkout to the latest revision. Some fiddling about revealed that it was one particular file causing the issue. For example: root - A - AFileInFolderA.h - AnotherFileInFolderA.h - B - AFileInFolderB.h - C - AFileInFolderC.h

How to use custom keywords in SVN

耗尽温柔 提交于 2019-12-04 01:20:47
问题 I'm using a VisualSVN server and TortoiseSVN client. I have set the properties svn:keywords = Author Id Revision LastChangedDate Copyright copyright = (c) 2009 Foo Company. Then, when I try to use these properties in the header file (including the custom property Copyright), I do it like: /****************************************************************************** * $Id$ * * $Author$ * * $Revision$ * * $LastChangedDate$ * * $Copyright$ ******************************************************

SVN frequently says file is locked by me in another working copy

十年热恋 提交于 2019-12-04 00:11:26
I have an SVN repository (hosted on Dreamhost) with needs-lock set on binary files. It sometimes happen that, while committing files locked and modified by me, the commit fails with the error: Error: Commit failed (details follow): Error: File '/my/file.bin' is locked in Error: another working copy If I try to get the lock on that file (without stealing it) it says: Error: Path '/my/file.bin' is already locked by user Error: 'my_username' in filesystem '/home/user1/svn/repo1/db' Cleanup doesn't help, so the only way to solve this is to steal the lock, and then the commit succeedes. This is not

Resharper and TortoiseSVN

随声附和 提交于 2019-12-04 00:07:39
Is there any good way to deal with the class renaming refactor from Resharper when the file is under source control and TortoiseSVN is the client. I have am trying VisualSVN right now but I haven't had the need to rename anything recently. I don't want to change our repository just to try this out. Also not sure if this feature alone is worth the cost of VisualSVN. Update: I have uninstalled the trial of VisualSVN and tried AhknSVN. I seems to provided the same functionality so far. I know this my sound trivial but the indicators seem to be lacking some functionality, it seems like they don't

“Naive” svn merge from branch into trunk?

*爱你&永不变心* 提交于 2019-12-03 23:54:12
I am using TortoiseSVN for my C++ project, and am trying to "reintegrate a branch" back into the trunk. My case is simple enough so that for every file which has changed in the branch, I would like it to completely overwrite the matching file in the trunk. Unfortunately, TortoiseSVN is smarter than me, so it merges each pair of files - resulting in some inconsistent code. For example, some code lines which have been deleted in the branch are restored in the merged version. Is there any way to force TortoiseSVN to use the naive merge behaviour of overwriting all the modified files? Thanks, Dan

This client is too old to work with working copy

安稳与你 提交于 2019-12-03 23:53:00
Everywhere I go on google I get the same answer to this problem but it is the wrong answer for me. Originally I installed Subversion 1.5.6 for windows (i run Windows Server 2008) on my server and i made a repository for a project. Then I used a Tortoise client version 1.6.X on my laptop to update the project. Everything was hunky-dory until I tried to use a post-commit hook script (i am updating folders in wwwroot on commit to reflect changes on a web page). I got a message to the effect of "This client is too old to work with working copy 'XXX'". So I uninstalled the SVN client on my laptop

How to rename Java packages without breaking Subversion history?

若如初见. 提交于 2019-12-03 23:18:18
The company I'm working for is starting up and they changed their name in the process. So we still use the package name com.oldname because we are afraid of breaking the file change history, or the ancestry links between versions, or whatever we could break (I don't think I use the right terms, but you get the concept). We use: Eclipse, TortoiseSVN, Subversion I found somewhere that I should do it in many steps to prevent incoherence between content of .svn folders and package names in java files: First use TortoiseSVN to rename the directory, updating the .svn directories. Then, manually

Access to '/SVN/[repo name]/!svn/me' forbidden [duplicate]

一个人想着一个人 提交于 2019-12-03 23:13:41
This question already has an answer here: SVN Commit failed, access forbidden 7 answers I am having some issue with some SVN users where they get the following message Access to '/SVN/[repo name]/!svn/me' forbidden I am having some issues figuring out the root cause of it. The current setup is using Visual SVN on windows. We are using SVN security for the users, not AD. The users are that are having some issue are vendors(but not all of them), so they do have different permissions then an average user. But the weird thing is, I shadowed the user using Live meeting. They try to commit and get

How do I change the HEAD to a previous revision

有些话、适合烂在心里 提交于 2019-12-03 22:59:35
We've got a situation where someone messed up a Commit to our SVN server. A lot of files were deleted, etc. Question: What is the technique for making the previous (to the bad Commit) revision the HEAD revision? I've seen discussion here on SO for doing this for 1 file, but we'd like to make it like that last commit never happened. Any ideas? All of these answers seem to be correct. I marked abatishchev's answer as the correct answer simply because I'm using Tortoise SVN and it's the method I actually used. Maybe you can show log, check previous revision (n-1), in context menu choose Revert to