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

Re: Renaming a Directory

From: Blair Zajac <blair_at_orcaware.com>
Date: 2006-07-24 22:39:15 CEST

Gavin Lambert wrote:
> Quoth Bala Paranj <mailto:bparanj@yahoo.com>:
>> When I rename a directory and commit, I get the error message "Out of
>> Date" error message.
>>
>> 21:43:39:~/work/sesame > svn move timelib util
>> A util
>> D timelib/Clock.java
>> D timelib
>> 21:43:47:~/work/sesame > svn commit -m "Renamed timelib to util"
>> Deleting timelib svn: Commit failed (details follow):
>> svn: Out of date: '/sesame/trunk/timelib' in transaction '10-1'
>
> It means that someone else has probably fiddled with the directory since
> your last update. You should probably revert the move (which involves
> separately reverting the add and the delete it's composed of, and
> possibly also manually moving files around if you have other uncommitted
> changes), do an update of the entire parent directory (at least), and
> then try again.

I would run an svn log -r BASE:HEAD before doing the revert and see what has
changed, and then if necessary, do the revert. Many times, you just need to
update and then commit.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
<blair@orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 24 22:40:49 2006

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.