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

Re: Working copy format regression in 1.5.x branch and probably trunk

From: Branko ─îibej <brane_at_xbc.nu>
Date: Tue, 19 Feb 2008 11:25:05 +0100

Bert Huijben wrote:
> Hi,
>
> While trying to apply the ankhsvn/NSvn test suite on my new SharpSvn
> library I found a regression in the working copy parsing.
>
> When I extract
> http://www.ankhsvn.com/svn/finalproject/trunk/src/NSvn.Core.Tests/confli
> ctwc.zip to a directory and run some svn command with 1.4.5 I get:
>
> ---- 1.4.5
> # svn --version
> svn, version 1.4.5 (r25188)
> compiled Aug 22 2007, 20:49:04
> # svn status
> ? Form.cs.r1
> ? Form.cs.r2
> ? Form.cs.mine
> C Form.cs
>
> When doing the same with 1.5.x I get
>
> --- 1.5.x @29411
> # svn --version
> svn, version 1.5.0 (dev build)
> compiled Feb 18 2008, 19:24:43
> # svn status
> svn: Missing default entry
>
> (The problem disappears on 1.5 if I upgrade the working copy by using
> the 1.4 client)
>
> This working copy for this test case was generated with a very old
> version of subversion (Probably 1.0 or 1.1) and contains an old xml
> based entries file.
> The workingcopy might be corrupted in some way, but has worked for
> ankhsvn's testcases for quite a few subversion releases.
>
> I will try to find the real problem this evening, but if somebody else
> beats me to it...
>

This was so long ago I actually forgot that I made this change. :)

------------------------------------------------------------------------
r7711 | brane | 2003-11-12 08:41:50 +0100 (Wed, 12 Nov 2003) | 6 lines

Use "" instead of "svn:this_dir" in the entries file.

* subversion/include/svn_wc.h (SVN_WC_ENTRIES_THIS_DIR): Define to "".
* subversion/libsvn_wc/entries.c (svn_wc__atts_to_entry): It the
  entry name is "svn:this_dir", change it to SVN_WC_ENTRIES_THIS_DIR.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-02-19 11:25:32 CET

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