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

Re: Strange behavior on directory delete/commit

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 3 Aug 2011 10:55:18 +0200

On Wed, Aug 03, 2011 at 10:25:07AM +0200, Dominik Psenner wrote:
> >Then you must explain it to them. :) To move or delete items in a working
> >copy, you must use svn commands. You must not use OS commands. That's just
> >how it is.
>
> This is going to be a long journey. *jokingly*
>
> Thanks for the insights and incredibly fast answers! It's awesome that
> you're working on the .svn meta-data folders problem. If you manage to get
> it settled, I believe 1.7.X is going to be great!

I'm not sure you understand the kinds problems the new working copy
format is settling. You must still use svn commands instead of OS
commands in 1.7. That won't change. I don't think it will ever change.

The reason is that Subversion tracks operations explicitly, rather than
implicitly. In other words, Subversion needs to modify meta-data in
the .svn directory if you change something. If you run an OS-level
command the actual disk state and the meta-data get out of sync.

Subversion is not like git which goes "Woaaahh... I just woke up and
now... what??? What did the user DO??? Well, whatever, I'm just gonna
take a wild guess to deal with this and go back to bed..."

Both approaches have advantages and disadvantages.
Received on 2011-08-03 10:56:11 CEST

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.