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

Re: multiple propset before commit

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-07-19 14:17:15 CEST

On Mon, 2004-07-19 at 00:13, Eric Malafeew wrote:

> >svn propset svn:ignore foo .
> >svn propset svn:ignore bar .
> >svn commit
> Sending run
> svn: Commit failed (details follow):
> svn: Out of date: '/test/trunk/run' in transaction '77'

You're misdiagnosing the problem. I can tell you exactly what's going
on, and it has nothing to do with 'propset' or 'svn st -u'. :-)

There are two limitations to mixed-revision working copies, as described
at the end of chapter 2 in the book:

1. you can't delete a file or dir which isn't the latest version.

2. you can't commit a change to a directory (i.e. a propchange) unless
the working rev of the directory == HEAD.

That's why you're seeing the out-of-date error. Just 'svn up' so that
your directory's working-rev == HEAD first, and the commit will succeed.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 19 14:19:40 2004

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.