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

First charachter is chopped off when using svnadmin hotcopy

From: Jesse Hogan <nosbtr1_at_yahoo.com>
Date: 2005-08-05 19:04:38 CEST

All the directories and some of the files that are
created from a hotcopy have thier first characters
chopped off.

To reproduce:
Have 2 Windows 2003 server standard additions.

Install svn-1.1.4-setup.exe
This binary was built with
   Neon 0.24.7
   Berkeley DB 4.2.52
   OpenSSL 0.9.7e
   ZLib 1.2.1
   Apache 2.0.53
   Python 2.3
   libibtl 0.14.0 (patched)

On the 'source' (in terms of the hotcopy) server, have
a partitioned named R: that holds about a 3GB
r:\repos\db directory ( if necessary).

On the destination server have a local partion called
k:.

On the source server map Z: to the destination's
k:\Repos directory (this will be an empty directory
that will recieve the hotcopy).

Start a command prompt on the source server.

Execute these commands:
cd r:\Repos

R:\Repos>svnadmin hotcopy . z:\
svn: Can't open file 'z:/format': The system cannot
find the file specified.

After a few hours the copy finishes. z:/format was
created but it was create as 'ormat' so it was not re
found.

From cygwin on the destination server we can see a
print out of the directories and files that were
incorrectly named.

user@computername /cygdrive/r
$ find .
.
./b
./b/changes
./b/copies
./b/DB_CONFIG
./b/log.0000004078
./b/log.0000004079
./b/log.0000004080
./b/log.0000004081
./b/log.0000004082
./b/log.0000004083
./b/log.0000004084
./b/log.0000004085
./b/log.0000004086
./b/log.0000004087
./b/log.0000004088
./b/log.0000004089
./b/log.0000004090
./b/log.0000004091
./b/log.0000004092
./b/log.0000004093
./b/log.0000004094
./b/log.0000004095
./b/log.0000004096
./b/log.0000004097
./b/log.0000004098
./b/log.0000004099
./b/log.0000004100
./b/log.0000004101
./b/log.0000004102
./b/log.0000004103
./b/log.0000004104
./b/log.0000004105
./b/nodes
./b/representations
./b/revisions
./b/strings
./b/transactions
./b/uuids
./b/__db.001
./b/__db.002
./b/__db.003
./b/__db.004
./b/__db.005
./b/__db.006
./b/__db.007
./b/__db.008
./b/__db.009
./b/__db.010
./b/__db.011
./b/__db.012
./dav
./dav/activities.dir
./dav/activities.pag
./db
./EADME.txt
./locks
./locks/db-logs.lock
./locks/db.lock
./ocks
./ocks/db-logs.lock
./ocks/db.lock
./onf
./onf/httpaccess.conf
./onf/password.conf
./onf/svnserve.conf
./ooks
./ooks/post-commit.tmpl
./ooks/post-revprop-change.tmpl
./ooks/pre-commit.tmpl
./ooks/pre-revprop-change.tmpl
./ooks/start-commit.tmpl
./ormat

 
It seems like the files and directories at the root
were affected. Some directories were created correctly
but had corresponding chopped directories that were
actually used to copy the data to.

See issue 1771

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 5 23:30:35 2005

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.