tortoisesvn

Repository Structure with Tortoise SVN Question

Most people structure their repositories as so, which is best practice MainRepository Project1 branches trunk tags Project2 branches trunk tags ..and so on would there ever be a need to create a second repository? I think most people have lived with only one as best practice and would...

Can you move from one repository to another with Tortoise?

Ok, I am using Tortoise Subversion in Vista and using VisualSVN on a Windows Server 2007 dev server. Originally I was just using my own instance of Tortoise not on a server but just my local PC until they got me my dev server. So I had a bunch of commits and comments going on. So the url to the repository was this: https://mylocalpc:...

Update Item to Revision vs Revert to Revision

I've started to use Subversion with TortiseSVN. If I open up the log and right click on an old revision I see two options that sound like they roll back to an older version: "Update item to Revision" and "Revert to Revision". I understand that updating to an older revision is used when you only want to look back at an old version but no...

How to fix a subversion (VisualSVN) repository

I have a subversion repository that I committed to and it's hard drive crashed. My latest backup is one revision behind. I can't commit to the backed up repository because the working copy is one revision ahead. How do you fix this? ...

What is a correct way to move directories with TortoiseSVN?

If I move a directory to another place inside the same repository by dragging it to the new place in Tortoise, I cannot checkout revisions prior to the move, because the URL to these old revisions is not valid anymore. How do you move a directory and still be able to access revisions before the move? Example: If I move trunk/folder1...

Displaying a checklist before commit/comments in SVN

Currently we use TortoiseSVN and VisualSVN as our source control. I have altered the pre-commit hook successfully to block unwanted files etc being committed to the repository. But what I want to achieve now is a check-list that will act as aide memoir before committing. Is this possible? If so what is required to be done I can't see h...

Trouble deleting .svn folders in Vista

I do a search on .svn using Explorer in my project directory and they come up fine. But when I try to highlight all the .svn folders in my search results it appears that they are deleted by the dialog but they're stil there. I can't get rid of them! ...

Trunk folder for Repository?

I am hashing out our structure for Subversion and have the standard structure that I think most people use which is using one repository and multiple folders for each project: MainRepository Project1 branches trunk tags Project2 branches trunk tags ..and so on My question is, do I need...

TortoiseSVN through a proxy script

I'm attempting to connect to a remote HTTPS SVN server from inside a corporate firewall using TortoiseSVN. I am required to use a proxy for this connection. My problem is that TortoiseSVN's proxy settings only include an option to set a direct proxy server address. The proxy I am connecting through, however, is configured via a script. I...

Recursively ignoring files in the entire source tree in subversion

I am not new to Subversion, but I have up till now used Tortoise and never the commadn line. My question is, how do I ignore all files like *.o from the ENTIRE source not just the root. For example, if I have the following files: /myfile.o /folder1/myfile2.o /folder1/folder1.1/myfile3.o /folder2/myfile4.o If svn propedit svn:ignore "....

Versioning DB Scripts Structure with TortoiseSVN

It just occured to me today as I had setup TortoiseSVN. How to manage and track DB scripts. In TFS, you can just add a script to a changeset. Then add the changeset to whatever task. I've used both TFS and Subversion (Tortoise) and don't recall in the past what the best way was to manage this. Do you create folders by project name a...

Tortoise svn Subversion Update Error

Hey All, I recently was working on an open source project... Everything was going great for a week or two but them something happened and I don't know what, and I can't update anymore! I know the url is correct, because I can check it out on my linux server... but when I try to check it out with tortoise svn on my windows box it doesn...

Renaming files with Visual Studio and TortoiseSVN

I am using Visual Studio for editing source code and once a while I switch to Windows Explorer to commit changes with TortoiseSVN. This procedure works well for me and I am quite happy with it. However recently I started to rename classes and reorganize namespaces a lot. I like to rename and move files in Visual Studio because it automat...

How to create a branch of an old revision with TortoiseSVN?

I have a repository where in revision 1 the folders trunk, branches and tags were added. The source was kept in trunk. Revision 7 happened, and development continued up to revision 16. Now I have to continue to work on revision 7, so I want to create a branch off of revision 7. Here is how I tried to do this: Using TortoiseSVN, I select...

SVN externals and automated build

I have a project that uses SVN externals to include some stuff (actually it's the MSBuild Community Tasks, but that's tangential). The external repository requires a username 'guest' but no password. I've set an externals property and this works perfectly when doing an SVN Update locally. The problem comes when my TeamCity continuous in...

Make SVN directory locally read-only

Two teams are working on two different projects "A" and "B". Some files are common to both projects and are stored in a directory "Common". When a release date of project A approaches, the team of project A does not want to be bothered by modifications to "Common" made by team "B". Most people like branches for such issues but i don't...

Undoing a commit in Tortoisesvn

I did a search it said to view the log, right click the revision I want to go back to and select revert to this revision but I always get this error: Cannot reverse-merge a range from a path's own future history; try updating first ...

Using "Git externals" with Subversion?

I recently had occasion to add a dependency on a Git-hosted project to a Subversion-hosted one. After adding support for an ad-hoc "git:externals" property to the parent project's packaging script to manage this dependency, it occurred to me that someone may have found such a property handy before and that it would be awfully nice if th...

Using tortoiseSVN, how to you make tag the code?

Using tortoiseSVN, how to you make tag the code? Is the process to branch exactly the same? I know you have to just copy the code to the /tag/ folder, but how? i.e. I want to copy revision # to a tag#. Will it effect the /trunk/ at all? ...

How do I make a directory immutable in svn?

We have certain directories in svn that should not be touched after a release. While I can put svn:needs-lock on each file in the directory, I would like to prevent adds and deletes as well as modifications. Is there any way to do this? ...