[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Update the working copy - again...

From: John Peacock <john.peacock_at_havurah-software.org>
Date: 2007-12-11 18:07:47 CET

computergenius wrote:
> Quite new to Subversion, so this is baffling me:
> Error: Commit failed (details follow):
> Error: Out of date: '/trunk/www/controller/Search.php' in transaction '2f'
> Error: You have to update your working copy first.

Subversion is telling you to run 'svn up' before you try and commit again.

The reason for this is when you check out a given folder, Subversion
makes a note in the working copy what the global revision was when you
checked out your copy. If someone else makes a commit, your working
copy is now out of date. Before you can commit your changes, you need
to make your working copy equivalent to the server version, so that if
there are any changes in the newer version that would conflict with what
changes you made, you can resolve those.

You should read the Subversion book:

        http://svnbook.red-bean.com/

before trying to go much farther, especially "Chapter 2. Basic usage".
At the very least, you should go through the Quick-Start tutorial:

        http://svnbook.red-bean.com/en/1.4/svn.intro.quickstart.html

and the "Subversion for CVS" appendix:

        http://svnbook.red-bean.com/en/1.4/svn.forcvs.html

if you used CVS before.

HTH

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 11 18:08:19 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.