svn

How to show any working copy folders in effect for a subversion project?

I am new to SVN and I've poked around looking for an answer on this but I haven't found it yet so here goes: Using TortoiseSVN, I bring up the REPO browser and navigate to the root of the repository where I can view all the projects. Is there any way to navigate to a given project and then inquire whether there exists any working copy ...

Suggest a good way to update staging server using svn

Updating a copy on staging server using svn up and later doing cp command to copy the files from the updated copy to the server copy is always time consuming when there are more than 10 files. Can you suggest me a way of how to do this without copying the .svn files and also saving time? Writing bash script is my aim to resolve this iss...

Sending a whole svn revision through ftp

Hi My host does not handle SVN. What I want is to be able to send through ftp a whole svn revision so I am sure I won't forget to upload a file. Do you guies know any tool that would help me to do that? thank you! Vy ...

Using Subversion, how can you tell if all the files in a particular hard-drive folder have been checked-in and comitted to the repsitory?

With Source Safe, after I add files to Source Control, they are set read-only locally. So then if I go to Explorer, and check the contents, I can quickly see which files didn't get into source control, because they are still read-write. With SVN, the software doesn't mark the local files as read-only after check-in, which is fine, but ...

SVN post commit hook - find folder to which commit was done

Our repository has a structure like this: Dev Project1 source docs ... Project2 source docs ... ... After we commit changes to Project1 sources we would like to deploy Project1 (compile, test, copy, etc.). How to find out in post-commit-hook that we commited to Dev/Project1 s...

svn - 2 'packages' one using elements of the other, best way to structure this?

Hi, I have what I believe is a tricky situation but this usually indicates I'm ignorant of something quite simple. I currently have one php project that is in an svn repo, call it 'firstproject'. The working copy of this is an apache virtual host dir so I can happily run this project at any point of development through a browser. I now ...

SVN: how to restore a locally deleted folder?

Locally deleting a file followed by svn update restores the local copy of that file. However this does not seem to apply to folders. Is there any way to make it work for folders as well? EDIT: This is what the console output looks like: C:\svn\Google Project Hosting\xulwin\xulrunnersamples>rmdir /S /Q treeview C:\svn\Google Project Ho...

Is there a way to create a pre-commit hook that will reject the commit in case the new revision wont compile?

We would like to implement a policy that will force developers to commit only changes that will compile. Is there a way to do such thing using pre-commit hook? If not, I'll be happy to hear any recommendation or workaround that will maintain the source integrity. ...

going back to a previous version of the main repository

Hello, I have the following problem: - I have implemented this program as a library for a bigger software. This library depends on other libraries from the software. Now each time I modify something I am committing my changes, and from time to time I am updating the main repository. My library was working good, compiling running and al...

Standard practices for Subversion

Hi, I'm wondering if there's any other factors to consider for standard practice of using Subversion. The few I have are: Directory structure of /tags /trunk and /branches All work is done in trunk which does not break functionality Branch when major structural changes are made or when a feature is being added that breaks core functi...

Need to restore a deleted branch subversion

Crap. I have two working copies of a subversion repository, one of the trunk, and one of a branch I created. Then, I accidentally the deleted the branch in a repository browser. How do I restore the branch? Is there a way to undo the most recent commit for the whole repository? Any help is much appreciated. :-\ ...

Merging software for xaml

For you wpf silverlight people who are working with source control that allows merging. What is the best software to use for merging? I am more worried about the xaml then I am the code because this has the potential to change the most during a merge. ie beyond compare, kdiff etc... ...

Using version control (SVN, CVS, etc) keywords for program logic

On a couple of projects now, I've used the SVN keywords to retrieve some information about the version of some core files. Something like this (PHP): $revision = '$Revision: 1254 $'; // automatically updated each commit $revision = preg_replace("/[^0-9]/", ""); echo "This file is at revision #" . $revision; It occurred to me however,...

svnkit: how to enumerate svn repositories in a root directory?

How do you use svnkit to enumerate svn repositories in a root directory? ...

SVN submit db\transactions\106-43.txn\props The system cannot find the file specified

While submitting my changes this error popped up from AnkSvn: SharpSvn.SvnException: Commit failed (details follow): ---> SharpSvn.SvnException: Can't open file '\\dfs.coteng.com\coteng\cotengitbright\visualsvn\repositories\Coteng.DSAutomation\db\transactions\106-43.txn\props': The system cannot find the file specified. --- End of ...

Subversion client with multiple check-ins at once?

I use and love Subversion and TortoiseSVN. However, there is one feature I sorely miss: I work on a big project whose source files are on an external server. Each time I click "SVN Commit..." from Windows Explorer, TortoiseSVN will search the whole tree for changes, which takes a lot of time. However, many of the changes I am about to c...

Getting subversion to run as another user

Hi I currently have subversion set up on my freebsd machine. It its linked with the svn user account. However in an attempt to solve issues of maintaining permissions when checkingout / updating I wish subversion to run as www - so the folders are owned by www. I have found a config file at /root/.subversion.config however Im unsure wha...

Subversion to ignore certain directories and files

Hi Im using subversion on a freebsd machine. With a project I have a couple of directories such as cache and a tmp folder used by Smarty. How do I exclude these folders from being committed ever? Also .project files from Eclipse is always added to the list to be commited. Can I also ignore that? Thanks. ...

Best tool to build a documentation repository

I'm sharing documentation with people not programming oriented. We agree we need a documentation repository but they don't like TortoiseSVN as it lacks some features that they consider key issues: Lock of files in such a way that everybody knows is blocked (more like VSS) To see files that are being changed by other people, even though...

Want to revert back 3 revisions, how?

Let's say I have a user's object, I deleted a property and all things in the web project that used this property (admin pages that updated the property, data layer etc etc). Now I was told that we need that property, looking at Subversions log it seems the correct code is 3 revisions back. How can I go back, then somehow get any update...