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

Re: svn commit: rev 200 - trunk/subversion/libsvn_wc

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-10-03 21:43:27 CEST

sussman@tigris.org writes:

> Author: sussman
> Date: 2001-10-03 19:38 GMT
> New Revision: 200
> Specifically, make sure that property-files are either non-existent or
> contain one or more props. By disallowing empty property-files,
> svn_wc_props_modified_p() can do a rapid stat(), rather than slowly
> reading an empty file.
> * adm_files.c (init_adm): don't create empty 'dir-props',
> 'dir-prop-base' and 'dir-wcprops' when creating an administrative
> dir.


This change makes your current working-copy SVN/ areas obsolete. In
other words, the format of this directory has changed.

Here's a recipe for the only potential hazard:

   * you add a prop to a directory that formerly had none

   * you 'svn pdel' the prop.

   * 'svn st' still thinks you have a local prop mod on the dir

Why? Because the 'svn pdel' command blew away SVN/dir-props, but you
still have an empty SVN/dir-prop-base lying around. Why do you have
the old empty dir-prop-base? Because that's the old way of creating
an admininstrative area.

If you were to checkout a new working copy, the empty 'dir-*'
propfiles wouldn't be created in the first place.

See my next mail. :-)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:44 2006

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.