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

Creating directory copy operations in a dump stream

From: Eric S. Raymond <esr_at_thyrsus.com>
Date: Fri, 11 Oct 2019 05:41:01 -0400 (EDT)

After years of eyeballing Subversion dump streams as part of making
reposurgeon work, I have belatedly realized there is a dump stream
operation I don't know how to generate with the CLI. And I need to
to get good test load coverage.

If, in a normally-set up Subversion repository, I create and commit
three files under trunk and then do "svn copy trunk branches/stable",
what I see being generated into the dump is three file copies to

That's fine, but I also want to be able to generate a *directory* copy.
I see these in the dump files I get in bug reports. Here's an

Node-path: tags/1.0rc1
Node-kind: dir
Node-action: add
Node-copyfrom-rev: 5
Node-copyfrom-path: tags/1.0

How do I generate this kind of operation from the CLI - that is, a copy of the
whole directory rather than a wildcarded copy of all of its files?

		Eric S. Raymond
All governments are more or less combinations against the
people. . .and as rulers have no more virtue than the ruled. . .
the power of government can only be kept within its constituted
bounds by the display of a power equal to itself, the collected
sentiment of the people.
	-- Benjamin Franklin Bache, in a Phildelphia Aurora editorial 1794
Received on 2019-10-11 11:41:16 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.