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

Re: Q regarding directory revision on commit

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 16 Jul 2009 15:13:41 +0100

Philipp Marek wrote:
> After reading doc/misc-docs/directory_versioning.xml (browseable at
> http://svn.collab.net/viewvc/svn/trunk/doc/misc-docs/directory_versioning.xml?revision=15777&view=markup) I found a (failing) testcase that's not directly explained there.

I think this paragraph explains it:

<para>Thus the answer is simply not to allow property-commits on
directories that are out-of-date. It sounds a bit restrictive, but
there's no other way to keep directory revisions accurate.</para>

So you have to update /dir to r2 before you can commit it.

[...]
> I think that the behaviour is correct as it is; I just wanted to point
> that out and ask whether there's any reason that this could/should be
> changed.

I don't have an opinion on whether it could be changed.

- Julian

[...]
> svnadmin create repos
> svn co file://$PWD/repos wc
>
> cd wc/
> mkdir dir dir/sub
> svn add dir
> svn ps A 1 dir dir/sub
> svn ci -m1
>
> svn ps A 2 dir dir/sub
> svn ci -m2 dir/sub
>
> # This fails
> svn ci -m3

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2371766
Received on 2009-07-16 16:15:17 CEST

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.