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

Re: Problem, svn upgrade & externals & svn status (1.6 --> 1.7)

From: Johan Holmberg <johan556_at_gmail.com>
Date: Thu, 20 Jun 2013 12:40:19 +0200

On Wed, Jun 19, 2013 at 1:51 PM, Bert Huijben <bert_at_qqmail.nl> wrote:

> Subversion 1.7.7 and later automatically upgrade all working copies
> referenced from svn:externals properties too.****
>
> ** **
>
> For older clients can use ‘svn upgrade’ on the externals itself.
>
> Bert****
>
> **
>

I have upgraded *both* the top-project and the one referenced by the
svn:externals (manually with 1.7.5). The problem I tried to describe was
that "svn status" no longer followed the "svn:externals" into the
sub-directory. If I use "svn status proj1/proj2-subdir", my svn will
accurately show the status of the "proj1/proj2-subdir" directory, but "svn
status proj1" never even looks at the "proj1/proj2-subdir" directory.

/Johan Holmberg

> **
>
> *From:* Johan Holmberg [mailto:johan556_at_gmail.com]
> *Sent:* woensdag 19 juni 2013 13:12
> *To:* users_at_subversion.apache.org
> *Subject:* Problem, svn upgrade & externals & svn status (1.6 --> 1.7)****
>
> ** **
>
> Hi!****
>
> I have just started using the Subversion client 1.7.5 (I used 1.6.17
> previously). To be able to use my old working copies I had to do a "svn
> upgrade". But after the upgrade, the svn:externals are no longer fully
> recognized. The "svn status" command no longer "recurses into sub-projects"
> the way it used to. The difference can be seen by:
>
> -----------------------------
> $ svn status proj1
> X proj1/proj2-subdir
> $
> $ svn status proj1-new
> X proj1-new/proj2-subdir
>
> Performing status on external item at 'proj1-new/proj2-subdir':
> -----------------------------****
>
> "proj1" is the old working copy with "svn upgrade" applied. "proj1-new" is
> a fresh checkout of the project with the new client version. I have looked
> around in the ".svn" directory of the projects and found a difference that
> perhaps explains the difference i behaviour:
>
> -----------------------------
> $ sqlite3 proj1/.svn/wc.db 'select * from EXTERNALS order by
> local_relpath'
> 1|proj2-subdir||1|normal|unknown||||
> $
> $ sqlite3 proj1-new/.svn/wc.db 'select * from EXTERNALS order by
> local_relpath'
> 1|proj2-subdir||1|normal|dir||proj2||
> -----------------------------****
>
> Note that the upgraded working copy has the externals entry marked
> "unknown".****
>
> Is what I describe here a known problem of the "svn upgrade" command?****
>
> I also wonder if there is some way to get my existing working copies fully
> functional again without doing a new checkout.****
>
> /Johan Holmberg****
>
>
>
>
> ****
>
Received on 2013-06-20 12:40:53 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.