Tuesday, August 31, 2010

Undoing an Add

Use the revert, but do it carefully.  It will remove files.


Basic Work Cycle


http://svnbook.red-bean.com/en/1.1/ch03s05.html

Update working copy

svn update

Make changes

svn add

svn delete

svn copy

svn move

Examine changes

svn status

svn diff

svn revert

Merge others' changes

svn update

svn resolved

Commit changes

svn commit



Wednesday, June 23, 2010

How to Find Changed Files in SVN

svn status

Gives a list of files that satisfy one of the following requirements:
  1. Not in the repository
  2. Changed (Modified)
  3. Deleted

Tuesday, December 1, 2009

SVN Merge Branch into Trunk


This is a good page on showing how to merge between two copies.  Really doesn't matter what the branches are.  The important thing is that you need to be in the folder of the branch you are merging into.

http://www.sepcot.com/blog/2007/04/SVN-Merge-Branch-Trunk



Wednesday, June 13, 2007

svn update

I would like to update a single file. I seem to be able to do this in TortoiseSVN. However, I seem unable to do this from the command line. This is because I put a minus in front of the update option and misunderstood the error message.

According to the FAQ, one cannot checkout a single file.
(see http://subversion.tigris.org/faq.html#single-file-checkout). However, one can update a single file. This is not made plain in the "Subversion Complete Reference" page 262. I have add [file] below [PATH...] to make this plain in my copy.

Schemas and Access Mothods

SVN has several schemas that provide different access methods to the repositories.

  • file:/// - direct repository access on the local disk
  • http:// - access via the WebDAV protocol to a SVN aware Apache server
  • https:// - same as http:// but with SSL encryption
  • svn:// - access via SVN's custom protocol to an svnserve server
  • svn+ssh:// - same as svn://, but through an SSH tunnel

Updating to 1.4.4


Updating to 1.4.4 has been a small pain. The problem is that the latest installer is for 1.4.3.

The only way that I can figure to do it is to install the 1.4.3 version and than copy over the 1.4.4 zip version of the files to the 1.4.3 directory. This overwrites the 1.4.3 version of the files. I don't know if this is the correct path, but this is what I have done.

Also there is no need to worry about moving any of the new Apache modules files because the configuration file is pointing to the modules for the subversion directory.

The current version of Apache which the Windows SVN works with is 2.0.

Do other system work with later versions of Apache?

There is a CodeProject article about installing: http://www.codeproject.com/w2k/SubversionApache.asp?df=100&forumid=&select=&msg=

But is is a little weak.