How To Exclude Files From Displaying in Subversion Status Command?October 25th, 2006 Often you have files in your subversion directiory which you do not want to commit / check-in. Such files could be compiled files, intermediate files used for data processing etc.
Using Subversion to Seamlessly Update & Merge Web Sites and Web ApplicationsJanuary 15th, 2007 I wanted a seamless procedure to update web sites and web applications without compromising security. The development server is under a firewall and so is the production server.
Subversion: How To Ignore Files From Status DisplayJune 23rd, 2007 In directories under subversion there may be files which you do not want to add to subversion. Normally such files would show in subversion status (svn stat) with ? in front of them.
Subversion Hack: Automatic Versioning on Save With SubversionAugust 14th, 2007 I discovered a really cool way to use Subversion, my favorite version control system - automatic versioning / commit on save. Essentially with this simple tweak you can use subversioned files like you would use any ordinary files.
5 Minutes Guide To SubversionJanuary 13th, 2007 Subversion is a free open source source code management system (SCM) like CVS, Perforce, ClearCase etc. In this simple 5 minutes guide you will know about some key commands to quickly get started with subversion from ground zero.
Free Java Utility To Touch Files (Cross Platform)September 23rd, 2006 This is a simple commandline Java utility which I wrote down in under 5 minutes to help in checking-in (svn commit) over 500 files which were modified but the dates weren't changed due to an error in our settings. So subversion failed to recognize it.
Hosted Subversion Service: Advantages and DisadvantagesApril 30th, 2009 Subversion is a highly popular version control system used worldwide. It succeeds CVS and aims to rectify its shortcomings.
How To Recursively Delete Files And Directories Using JavaJune 15th, 2006 How can you recursively delete files and directories in windows? You can select them in explorer (in windows) and delete it, right?
The problem with the explorer approach is that if one or more files and / or directories cannot be deleted then the whole process fails. Try cleaning your Local Settings\temp directory to see an example.
How To Backup PmWiki in Subversion (Code)October 8th, 2007 PmWiki is a popular wiki software which uses the file system to store wiki pages. We use for our intranet and to document our processes and systems.
Software Review: Hosted Subversion Analytics ServiceJune 20th, 2007 I was contacted by ProjectLocker to review their new service: Subversion Analytics. I took the service through the paces using their demo account.
How to Integrate Subversion, Version Control Software, With Apache ANTNovember 4th, 2005 Subversion is a popular version control software and replacement for CVS, the grand-daddy of all version control software which is still widely used in open source community. Recently I had the necessity to invoke Subversion commands like checkout from Ant, a popular java based build software which replaces make tool.
How To Run Apache Ant Recursively From Any Sub-FoldersJuly 26th, 2006 The following command will recursively search for ant build file in the directories and then its parent directories, till it finds it; and then executes it. In short you can use this command to manage your project from any subdirectory of the project.
Meta Review of Mercurial Distributed Version Control SystemMay 2nd, 2007 I was recently introduced to Mercurial, a new distributed version control system people are talking about. Version control systems are central to any development team and a choice shouldn't be made lightly as you will often find your development process limited by the limitations of the system.
3 Ways to Setup RSync Server on WindowsJanuary 15th, 2007 There are 3 options to run rsync server on windows, explained below with pros and cons and instructions. Using DeltaCopy.
How To Add Revision Number, ID Automatically To Subversion Files in Two Simple StepsOctober 25th, 2006 Revision number of a file is an important information. Two most common uses are in serialization and in making version specific database upgrades for an application.
June 16th, 2006 at 11:27 am
’svn export’ is your friend.
June 16th, 2006 at 12:50 pm
Or, if you have rsync you can to this…
rsync -C /path/to/source/ /path/to/destThe -C option excludes .svn directories on a copy.
June 18th, 2006 at 12:26 pm
Thanks for the tips.
September 16th, 2006 at 3:17 pm
That java prog didn’t work for me, and I was too lazy to whip up a script. Neither did that rsync script. So, I created local svn repo and used import/export.
% svnadmin create /tmp
% svn import . file:////tmp
% svn export file:////tmp
March 6th, 2007 at 11:07 pm
If you prefer an Ant-based solution to deleting hidden/read-only work directories, the ‘defaultexcludes’ option is your friend.
March 6th, 2007 at 11:19 pm
Hm, that nuked my build.xml target tags, try this version…
<target name=”clean-environment” depends=”clean-gen”
description=”Clean all Eclipse/Subversion environment files and directories”>
<delete includeemptydirs=”true” failonerror=”false”>
<fileset dir=”${basedir}” defaultexcludes=”no”>
<include name=”**/.svn/**” />
<include name=”**/.settings/**” />
<include name=”**/.classpath” />
<include name=”**/.project” />
<include name=”**/.tomcatplugin” />
</fileset>
</delete>
</target>
August 2nd, 2007 at 1:51 pm
This worked fine for me and was exactly what I wanted. I simply wanted to remove all the Subversion artifacts from a directory structure without having to actually have Subversion loaded or creating a bogus Ant target. This did the trick as expected.
Thanks!
April 1st, 2008 at 7:15 am
Change to root directory folder and type:
find . -type d -name .svn -exec rm {} -R \;
Just for linux!
October 24th, 2008 at 1:47 am
To make a java app doing that and then posting about it is the stupidest thing I ever saw. Why not just use find?