SCM

Source Code Manageent, git, svn, mercurial, bzr

Attaching External SVN Repositories - svn:externals

The scenario:

  • You are using subversion as the version control software for your project
  • Your project depends on other projects, perhaps third party libraries
  • The other projects also use subversion as the version control software for their project

Writing A PHP Script To Send SVN Commit Changeset Email Notification

If you are a

  • PHP programmer looking to write a script to send changelog email notification when a commit is made to the SVN server
  • SVN server admin looking for a script to send changelog email notification when a commit is made

you have come to the right place.

For the impatient, the script is posted at the end of the article.

Before we delve into writing the script, let us summarize the environment.

  • We have our SVN project at the path /var/svn/myproject/
  • The project name is myproject

Exploring svnlook


Instant SVN Setup

So, you want to set up an SVN server instantly?

If you are reading this post you already know what is SVN. If you don' I recommend you to read

http://subversion.tigris.org/ and
http://en.wikipedia.org/wiki/Subversion_%28software%29

There is also a free and excellent book on subversion at http://svnbook.red-bean.com/

In this article we will quickly set up an SVN server and also demonstrate how to use it.

First and foremost, make sure you have subversion installed on your server and client.

yum install subversion


Tip Of The Day: Avoid Forgetting Adding Files To SVN Repository

If you are using subversion (SVN) for your source code management you may have come across this situation.

  1. You add some files to your working copy
  2. You use the command 'svn add ' to add files to the be versioned
  3. You commit using the command 'svn commit -m "message"'
  4. When other users of your project update their working copy they find some files missing

You forgot to add certain files to the repository. It happens every now and then.


Syndicate content