svn

Can't open .svn/text-base/file.svn-base ?

I'm using TortoiseSVN. I just made quite a few changes to my working copy and now I went to do a commit some of the files went through but at one file named Search.aspx.cs it says Commit failed (details follow): Can't open file 'C:\-----\trunk\.svn\text-base\Search.aspx.cs.svn-base': The system cannot find the file specified. I have...

CruiseControl.net continuously sends error messages whenever it can't connect to SVN

And this is pretty annoying since we have it set up to continuously check svn every 20 seconds. So if svn is down for some reason we could potentially be getting 3 error emails every minute. For example, svn was down today and I had about 90 emails from CruiseControl.net on how it can't connect to svn in my inbox when I came in the mor...

How to set up svn to automatically export to public_html?

I'm just getting started with svn so please, help me out if I saw anything stupid. I'm developing on a windows laptop using tortoisesvn. I'm deploying to a linux server. I have my repo set up and checked out on my laptop. I can't manage to check it out to a directory on the server. I've created a directory for it but can't get svn chec...

Where do I put a post-commit hook script?

I've just thrown together the following shell script: cd /home/firefli/webprojects/project1 svn checkout file:///home/firefli/svn/project1/trunk . rm -rf /home/firefli/public_html/project1 svn export . /home/firefli/public_html/project1 It does work when I do a commit and then run the script manually but I still have a couple of quest...

Window Post commit hooks to merge equal files only

I'm brand new with SVN, and I do not have any idea how to write a post commit hook for Windows, to merge a trunk to a branch only if files before current commit were identical. Can you help me ? It would be really appreciated if written in C# ...

Problem hiding files & folders in TortoiseSVN

I would like to configure Tortoise's global ignore patterns to hide the folder "scripts/shavrir/database" and everything under it, including subfolders. For this, I added to the global ignore patterns this pattern: "scripts/shavrir/database/*.*" This has no effect, neither of files directly in said folder or in its sub-folders. I do...

How to get SVN directory size using sharpsvn?

i am reading svn contents using GetList method of svnClient class, i want to know how can i determine the full size of directory including sub directories, i can read the size using FileSize property of SvnListEventArgs. ...

SVN - How to handle one project, two kinds of releases, with the only difference one has several additional files

I think one method is keep one code base, when export, manually add or not add these additional files per release requirement. But it require you to remember doing this each time export a copy, which is easy to forget. I created a branch for the project in SVN with these files included, but problem is each time i change the trunk, i nee...

Folder shows Missing in Tortoise SVN Commit - How to disassociate this and move that missing item

I have added a new folder to one of my local working copies. I have yet to initially check it in though. I want to take it out and put it on my desktop, then branch and then put it back in and associate with the branched local version. I noticed though, as I try to commit, that the folder is associated with that local copy because it'...

svn - Get Revision Number providing piece of associated message

Hello all, I'm wondering if there is an easy way to create a script that gets the revision number out off svn, if we provide a piece of the message associated to it. example: I know that the message contains "added method A", that message was written once I committed the changes. Now if I don't remember the revision number associated t...

SVN commit/lock/cleanup problem

Hello SO, I have a little issue using SVN. When I run svn stat I get this: ~ some/dir When I run svn commit -m "test" I get this: svn: working copy '/website' is locked svn: try svn cleanup (cf 'svn help cleanup') But when I use cleanup, I have this: svn: 'some/dir' is not a working copy directory I have some files I would lik...

Which protocol? svn:// or http(s):// ?

There are 4 common protocols for network access of SVN. svn://repos svn+ssh://repos https://repos http://repos The wikipedia page doesn't say much about the differences of the 4 different protocols. I've always preferred svn:// because it is the easiest to setup, but what is the difference and which one is "better"? ...

Can ASP.NET MVC Views be re-used across different projects?

This is a follow-up question to this question. It's a nice solution to sharing common Views across many projects using source control. However I have a couple of questions, specific to Subversion I think. Subversion Externals allows you to include a folder from a separate repository in your working copy, so you could define an "Externa...

TortoiseSVN: Move file does not preserve history

I am attempting to move a file to another folder inside a TortoiseSVN repository, and the revision history is not being preserved. I have tried moving the files using the Repo-browser (right-click drag the files and select "Move items to here") as well in the working folder (right-click drag, select "SVN Move versioned files here," and ...

PHP: exec(svn commit) is not returning any errors nor working..

Currently I'm writing out files with php into a directory, I add that directory (works fine), then when i try and do an svn commit its not working nor returning any kind of error codes. Does anyone have any idea on this? $tmp = exec('cd '.$this->build_locations[$this->type].'; svn commit --username user --password pw; ls', $output); I...

In search of opinions on web based version control systems

Hi. Researching various open source, web-based document management/version control systems. I've checked google/questions here, etc... I'm looking for a lightweight web-based (apache) document mgmt/version control app that runs on top of SVN. I need to have the ability to: have multiple users checkin/checkout have a workflow (when u...

SVN scripts to automate tasks

Guys, I am really new to svn. I need something(Scripts/app), which will compare my local copy with repository, copy the modified files into a new folder and then update the local copy. I dont know actually, where to start. Please help. Regards Bibhu ...

How can I have a post-commit hook that is only called when commits are made to TRUNK?

I have a repository that has the following directories: branches tags trunk The trunk directory contains the main line of development. I have created a post-commit hook script for the repository that updates a working copy (of trunk) when a user commits back to repository. It looks something like this: /usr/bin/svn update /path/to/...

How to properly update a feature branch from trunk?

SVN book says: ...Another way of thinking about this pattern is that your weekly sync of trunk to branch is analogous to running svn update in a working copy, while the final merge step is analogous to running svn commit from a working copy I find this approach very unpractical in large developments, for several reasons, mostly relate...

Using Subversion with the Promotional Model

Hi, at the moment we use Subversion for source control, but all of the merging work for our releases is done manually. We release several times a year, so create a branch for each release. All work from earlier branches must make it into later ones. Work on later branches must not make it into earlier ones (this is in our contracts). I b...