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

Stale logs and upgrading to WC-NG

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Wed, 8 Apr 2009 09:47:38 -0500

As many know, the upgrade process to move existing working copies to
the 1.7 format will be manual. On *any* action, the user will be
prompted to run 'svn cleanup' to upgrade the format. Trunk currently
has preliminary support for this, and we're writing a number of tests
in upgrade_tests.py to check different upgrade scenarios.

The question about what to do with stale logs has been encountered.
It turns out that converting existing logs into wc-ng-style actions is
a Hard thing, since the log files do not contain any semantic
information about the actions they perform. Instead of saying
"install property X for node Y", the log simply says "move file A to
location B", which could mean any number of things. Tracking down
each log action and giving it sufficient semantic meaning could take a
*significant* amount of resources.

Because of this difficulty, and the fact that the vast majority of
people upgrading their working copies are unlikely to have stale logs,
I'd like to punt on running these logs as part of the upgrade
process. People would need to run 'svn cleanup' with their old
clients, prior to running 'svn cleanup' with the new client to upgrade
their working copy.

Thoughts?

-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1597627
Received on 2009-04-08 16:47:55 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.