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

Loading dumpfile breaks due to merge on non-existent file

From: Shawn Hood <shawnlhood_at_gmail.com>
Date: Thu, 3 Apr 2008 18:16:22 -0400

**Sorry if this got posted twice. I got a nebulous bounce message
back when I sent it the first time.

All,

I have an SVN repository at approx rev 100k. It contains a web
applications, and also configuration files pertaining to different
clients. A recent decision has mandated that client configurations be
abstracted out of the existed repository and placed in a new
repository, all the while preserving the revision information. I've
have a lot of luck thus far, but have hit a wall that I'm not sure the
best way to deal with. Thus far, I've created a dump filter and run
it through svndumpfilter to include relevant paths.

Occasionally, a developer would merge a revision from the a trunk into
a branch. These cause revisions of type 'Node-action: change' , but
unfortunately the file that is to be changed does not exist. I am
fairly new to subversion, and I would think that the a corresponding
'Node-action: add' would be issued first.

For example, the following revision is the result of an svn merge
(with some sensitive text omitted):
====================
Revision-number: 10450
Prop-content-length: 350
Content-length: 350

K 7
svn:log
V 245
brought (merged carefully from trunk) Vik's changes:
1. svn merge -r 10416:10417
https://anakin/svn/webapp/trunk/cgi-bin/OMITTED/PickupFilter.pm
2. svn merge -r 10438:10444
https://anakin/svn/webapp/trunk/conf/OMITTED2/pickup_results/coding2csv.xsl
K 10
svn:author
V 9
OMITTED
K 8
svn:date
V 27
2005-08-19T20:39:00.833869Z
PROPS-END

Node-path: branches/build_1.01.00/conf/OMITTED2/pickup_results/coding2csv.xsl
Node-kind: file
Node-action: change
Text-content-length: 2294
Text-content-md5: 80019c2f408b718d9fe5c0e661a2d90f
Content-length: 2294
====================

The error (caused by `svnadmin load repo < webapp-20080402.filtered.10450` :
====================
<<< Started new transaction, based on original revision 10450
svnadmin: File not found: transaction '10449-1', path
'branches/build_1.01.00/conf/RUSH/pickup_results/coding2csv.xsl'
    * editing path :
branches/build_1.01.00/conf/RUSH/pickup_results/coding2csv.xsl ...
====================

As you can see, these revision is trying to change a file that does
not exist. Should there not be a previous add statement, with a
Node-copyfrom-path that copies the file to the branch first? This
file does not exist I don't understand how subversion would issue a
change to a file that was not yet brought into the branch. I also
checked the raw, unfiltered dumpfile for revisions of this type that
may have been omitted in the filtered dump file.

Any insight is greatly appreciated!

Shawn

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-04 00:16:43 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.