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

Re: [TSVN] Bug report for TortoiseSVN: commit: error when adding non-versioned files

From: Mark Phippard <markp_at_softlanding.com>
Date: 2005-10-07 18:41:21 CEST

<rene.leonhardt@dlh.de> wrote on 10/07/2005 12:30:25 PM:

> Modified: D:\code\pb_ng\menu
> Modified: D:\code\pb_ng\menu\config\parse_diagrams.inc.php
> Modified: D:\code\pb_ng\menu\forum\forum.js
> Adding: D:\code\pb_ng\menu\object_page.php
> Modified: D:\code\pb_ng\menu\title.js
> Sending Content: D:\code\pb_ng\menu\config\parse_diagrams.inc.php
> Sending Content: D:\code\pb_ng\menu\object_page.php
> Sending Content: D:\code\pb_ng\menu\forum\forum.js
> Sending Content: D:\code\pb_ng\menu\title.js
> Error: Commit failed (details follow):
> Error: Out of date: '/branches/NG/menu' in transaction '136-1'
> Error: You have to update your working copy first.
>
>
> I can commit all 4 files successfully after that error, because
object_page.
> php has the status added after the unsuccessful commit transaction.

This has nothing to do with an add. The issue is that you are committing
a property change to the folder:

> Modified: D:\code\pb_ng\menu

Read the error message:

> Error: Out of date: '/branches/NG/menu' in transaction '136-1'
> Error: You have to update your working copy first.

You cannot commit a property change to a folder unless the folder is at
the head revision. That is why you have to run Update first. You also
have to do this if committing a folder delete/move/rename.

http://subversion.tigris.org/faq.html#wc-out-of-date

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Oct 7 18:41:59 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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