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

RE: svn commit: r988550 - in /subversion/trunk/subversion: libsvn_wc/entries.c tests/cmdline/upgrade_tests.py

From: Bert Huijben <bert_at_qqmail.nl>
Date: Tue, 24 Aug 2010 17:06:53 +0200

> -----Original Message-----
> From: philip_at_apache.org [mailto:philip_at_apache.org]
> Sent: dinsdag 24 augustus 2010 16:13
> To: commits_at_subversion.apache.org
> Subject: svn commit: r988550 - in /subversion/trunk/subversion:
> libsvn_wc/entries.c tests/cmdline/upgrade_tests.py
> Author: philip
> Date: Tue Aug 24 14:13:26 2010
> New Revision: 988550
> URL: http://svn.apache.org/viewvc?rev=988550&view=rev
> Log:
> Fix upgrade_tests.py 7 in single-db.
> * subversion/libsvn_wc/entries.c
> (insert_working_node): Don't force kind to subdir.
> (write_entry): Make working_node subdirs incomplete initially.

How are you going to handle not present but added subdirectories in this way?

You only have one status field for BASE_NODE and not present is only recorded in the parent directories (in the entries world recorded as entry->deleted in the parent dir). But if you set the directory to incomplete the 'not-present' status gets lost.
And this can't be fixed from the directory itself, as it doesn't know that it originally existed as not-present, because we only started propagating this information into the subdir in the WC-NG work.

Received on 2010-08-24 17:07:38 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.