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

Re: "svn move" broken?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-06-05 15:25:13 CEST

Leeuw van der, Tim wrote:

> >I always assumed it was part of design and learned to do an update after a
> >commit...

This is a common FAQ, and mentioned in the book, but I'll repeat it
here again:

In general you do *not* have to run updates after every single commit.
svn will allow you to have a working-copy full of mixed revisions.

But there are exactly two exceptions to this:

  1. you cannot delete a file or directory which isn't at HEAD
     revision in your working copy.

  2. you cannot commit propchanges to a directory which isn't at HEAD
     revision in your working copy.

So in Michael's situation, he was running into the first restriction.
That's why his commit failed, and why he had to update the directory
before deleting it.

Here's the book reference:


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 5 15:28:14 2003

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

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