tags:

views:

102

answers:

0

Hi, i would like to move the folder from one repository to another (with preserving all history, of course)

I follow this question - How to move a single folder from one Subversion repository to another repository?

I use the same commands, as in that question ...

svnadmin.exe dump H:\Repositories\RepSource > W:\temp\RepSource.dump

svndumpfilter.exe include "trunk\Sources\folderToMove" --drop-empty-revs --renumber-revs --preserve-revprops < W:\temp\RepSource.dump > W:\temp\RepSource_filtered.dump

svnadmin.exe load "H:\Repositories\RepDest" < W:\temp\RepSource_filtered.dump

RepDest - is empty repository, that i created just for testing.

Dumping runs successfully

Filtering too - according to trace, which shows, that all folders were dropped, but specified one.

Loading goes in troubles

It shows following trace

<<< Started new transaction, based on original revision 1
 * editing path : trunk/Sources/folderToMove/theFile.mxml ...svnadmin: File not found: transaction '0-1', path 'trunk/Sources/folderToMove/theFile.mxml'

theFile.mxml - is the file, that is inside of "folderToMove" folder

I noticed some magic - when in svndumpfilter i add back-slash to the end of include path ...

svndumpfilter.exe include "trunk\Sources\folderToMove\" --drop-empty-revs --renumber-revs --preserve-revprops < W:\temp\RepSource.dump > W:\temp\ RepSource_filtered.dump

... The loading trace is following:

    <<< Started new transaction, based on original revision 1

------- Committed revision 1 >>>

<<< Started new transaction, based on original revision 2

------- Committed revision 2 >>>

<<< Started new transaction, based on original revision 3

------- Committed revision 3 >>>

<<< Started new transaction, based on original revision 4

------- Committed revision 4 >>>

<<< Started new transaction, based on original revision 5

------- Committed revision 5 >>>

<<< Started new transaction, based on original revision 6

------- Committed revision 6 >>>

<<< Started new transaction, based on original revision 7

------- Committed revision 7 >>>

<<< Started new transaction, based on original revision 8

------- Committed revision 8 >>>

<<< Started new transaction, based on original revision 9

------- Committed revision 9 >>>

<<< Started new transaction, based on original revision 10

------- Committed revision 10 >>>

<<< Started new transaction, based on original revision 11

------- Committed revision 11 >>>

<<< Started new transaction, based on original revision 12

------- Committed revision 12 >>>

<<< Started new transaction, based on original revision 13

------- Committed revision 13 >>>

<<< Started new transaction, based on original revision 14

------- Committed revision 14 >>>

<<< Started new transaction, based on original revision 15

------- Committed revision 15 >>>

It seems to be successful, but when i look into the RepDest-repository (with TortoiseSVN->Repo Browser, or VisualSVN Server Manager), there is nothing in it. It stays empty, HEAD revision number is 0

But, if i look into this repository with ...

svnlook tree H:\Repositories\RepDest -r 5

... i see again the empty repository, but it recognizes the revision number. All revision numbers from 1 to 15 being handled as correct. For testing, -r 16 causes svnlook to say to me, that this revision does not exist. I also check size of RepDest-repository folder - it is the same before and after loading.

What's wrong here ? Any ideas ?


Thanks in advance.