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

Property 'Node-copyfrom-rev:' is ignored while loading incrementa l changes into SVN

From: Brandon, Nicholas <nicholas.brandon_at_baesystems.com>
Date: 2006-01-24 16:21:22 CET

Hi,

I've been trying to test an idea that will allow access to a temporary SVN
repository based on a backup dump of the primary repository. However, I seem
to have a problem during the final loading of the data into the primary
repository due to 'Node-copyfrom-rev:' being ignored.

The steps to reproduce.

1. Create dump file of primary repository. Latest revision 220
2. Load dump file into a fresh temporary repository. Latest revision 220
3. A branch 'svn copy' is made on the temporary repository based on revision
219 and all changes are done on this branch. Latest revision 221.
4. Further changes are done on the temporary repository. Latest revision 225
5. In the mean time, changes have occurred on the primary repository. Latest
revision 223.
6. An incremental dump of temporary repository is created "svnadmin dump
c:\remote --revision 221:HEAD --incremental > c:\test2.dump"
7. Opening test2.dump shows the first change was the copy branch as so:

Revision-number: 221
Prop-content-length: 158
Content-length: 158

K 7
svn:log
V 46
Create snapshot for remote modifications by NB
K 10
svn:author
V 16
Nicholas.Brandon
K 8
svn:date
V 27
2006-01-24T10:30:55.516572Z
PROPS-END

Node-path: code/nbremote
Node-kind: dir
Node-action: add
Node-copyfrom-rev: 219
Node-copyfrom-path: code/main

8. Load test2.dump back into the primary repository is successful. However
the initial branch copy is based on revision 222 instead of the expected
219. 'svn log --verbose' gives:

r224 | Nicholas.Brandon | 2006-01-24 10:30:55 +0000 (Tue, 24 Jan 2006) | 1
line
Changed paths:
   A /code/nbremote (from /code/main:222)

Create snapshot for remote modifications by NB

---
Have I done something wrong or does SVN not use the 'Node-copyfrom-rev:'
when using the 'svnadmin load' command? Is there a better way to have
changes made occasionally by a remote user be added to the primary
repository. I should add I would like all the changes and not the final
'diff' between files.
Regards
Nick
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 24 16:35:27 2006

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.