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

[PATCH] #3483 - Extend svn_client_upgrade() to include externals

From: Daniel Näslund <daniel_at_longitudo.com>
Date: Mon, 28 Dec 2009 22:31:15 +0100

Hi!

[[[
Fix issue #3483 - extend svn_client_upgrade() to include externals. I've
done the externals upgrading after wc upgrade is finished. In that way
no errors in the externals will affect the wc.

* subversion/libsvn_client/cleanup.c
  (svn_client_upgrade): Get all svn:externals. We need the target_dir so
    we have to parse the description. For each target_dir we call
    svn_wc_upgrade() which will recursively upgrade the external.

Patch by: Daniel Näslund <daniel{_AT_}longitudo.com>
]]]

I have only tested this patch with the supplied shell script.

As for performance. Bert told me today on IRC that we will gain more
speed once the property stuff is in the db. We walk the wc two
times, one for the original wc upgrade and another when searching for
externals definitions. Hopefully, caching will ease the burden.

I have one formatting issue with the svn_dirent_dirname(). If anyone has
a better suggestion I'm upen for discussion (That is, I will do whatever
you tell me to do).

Daniel

Received on 2009-12-28 22:32:41 CET

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.