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

[TSVN] Re: Drag and drop move corrupts repo

From: geoff <ot0006_at_0x29a.org.uk>
Date: 2004-10-29 14:10:24 CEST

On 29 Oct 2004 10:07:08 +0200, Jens Scheidtmann
<Jens.Scheidtmann@bayerbbs.com> wrote:

>dev-return-9340-jens.scheidtmann=bayerbbs.com@tortoisesvn.tigris.org writes:
>
>> Tortoise 1.0.8
>> SVN 1.0.4
>> Apache 2.0.49
>>
>> Tortoise drag and drop copy between working copies of different repos
>> corrupts repo at commit time
>>
>[...]
>> [Thu Oct 28 19:00:36 2004] [error] [client 192.168.7.114] (20014)Error
>> string not specified yet: Berkeley DB error while closing 'nodes'
>> database for filesystem /home/svn/bogo2/db:\nDB_RUNRECOVERY: Fatal
>> error, run database recovery
>[...]
>> What to do next?
>
>svnadmin recover
>
>HTH,
>
>Jens

Thanks, Jens, I'd already done that. I was thinking of further
diagnosis.

Is this a known/fixed problem? Is an upgrade likely to help? If so, at
which end?

This is a very reproducible problem:

I set up two repos, bogo1 and bogo1.

I checked out a wc from each at rev 0

I added Document.txt to bogo1 and committed it.

I then Tortoise drag/drop moved Document.txt from the bogo1 to the
bogo2 wc.

I then committed bogo2 and got a server error.

Here's the trace of the commit to bogo2:

OPTIONS /svn/bogo2 HTTP/1.1
Host: 192.168.7.112
User-Agent: SVN/1.0.6 (r10360) neon/0.24.7
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers
Content-Length: 104
Content-Type: text/xml

<?xml version="1.0" encoding="utf-8"?><D:options
xmlns:D="DAV:"><D:activity-collection-set/></D:options>HTTP/1.1 401
Authorization Required
Date: Fri, 29 Oct 2004 11:39:08 GMT
Server: Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4
WWW-Authenticate: Basic realm="Subversion repository"
Content-Length: 496
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>401 Authorization Required</title>
</head><body>
<h1>Authorization Required</h1>
<p>This server could not verify that you
are authorized to access the document
requested. Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.</p>
<hr />
<address>Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4 Server at Twinz
Port 80</address>
</body></html>
OPTIONS /svn/bogo2 HTTP/1.1
Host: 192.168.7.112
User-Agent: SVN/1.0.6 (r10360) neon/0.24.7
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers
Content-Length: 104
Content-Type: text/xml
Authorization: Basic Z2lnbzp0b2ZmZWU=

<?xml version="1.0" encoding="utf-8"?><D:options
xmlns:D="DAV:"><D:activity-collection-set/></D:options>HTTP/1.1 200 OK
Date: Fri, 29 Oct 2004 11:39:08 GMT
Server: Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4
DAV: 1
DAV: version-control,checkout,working-resource
DAV: merge,baseline,activity,version-controlled-collection
MS-Author-Via: DAV
Allow:
OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,CHECKOUT
Content-Length: 189
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: text/xml; charset="utf-8"

<?xml version="1.0" encoding="utf-8"?>
<D:options-response xmlns:D="DAV:">
<D:activity-collection-set><D:href>/svn/bogo2/!svn/act/</D:href></D:activity-collection-set></D:options-response>
MKACTIVITY /svn/bogo2/!svn/act/bac958e8-ea1c-5946-9812-ad1dbe046cd0
HTTP/1.1
Host: 192.168.7.112
User-Agent: SVN/1.0.6 (r10360) neon/0.24.7
Connection: TE
TE: trailers
Authorization: Basic Z2lnbzp0b2ZmZWU=

HTTP/1.1 201 Created
Date: Fri, 29 Oct 2004 11:39:08 GMT
Server: Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4
Cache-Control: no-cache
Location:
http://Twinz/svn/bogo2/!svn/act/bac958e8-ea1c-5946-9812-ad1dbe046cd0
Content-Length: 323
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>201 Created</title>
</head><body>
<h1>Created</h1>
<p>Activity /svn/bogo2/!svn/act/bac958e8-ea1c-5946-9812-ad1dbe046cd0
has been created.</p>
<hr />
<address>Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4 Server at Twinz
Port 80</address>
</body></html>
PROPFIND /svn/bogo2 HTTP/1.1
Host: 192.168.7.112
User-Agent: SVN/1.0.6 (r10360) neon/0.24.7
Connection: TE
TE: trailers
Content-Length: 133
Content-Type: text/xml
Depth: 0
Authorization: Basic Z2lnbzp0b2ZmZWU=

<?xml version="1.0" encoding="utf-8"?><propfind
xmlns="DAV:"><prop><version-controlled-configuration
xmlns="DAV:"/></prop></propfind>HTTP/1.1 207 Multi-Status
Date: Fri, 29 Oct 2004 11:39:08 GMT
Server: Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4
Transfer-Encoding: chunked
Content-Type: text/xml; charset="utf-8"

1b2
<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:ns0="DAV:">
<D:response xmlns:lp1="DAV:"
xmlns:lp2="http://subversion.tigris.org/xmlns/dav/">
<D:href>/svn/bogo2/</D:href>
<D:propstat>
<D:prop>
<lp1:version-controlled-configuration><D:href>/svn/bogo2/!svn/vcc/default</D:href></lp1:version-controlled-configuration>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>

0

PROPFIND /svn/bogo2/!svn/vcc/default HTTP/1.1
Host: 192.168.7.112
User-Agent: SVN/1.0.6 (r10360) neon/0.24.7
Connection: TE
TE: trailers
Content-Length: 111
Content-Type: text/xml
Depth: 0
Authorization: Basic Z2lnbzp0b2ZmZWU=

<?xml version="1.0" encoding="utf-8"?><propfind
xmlns="DAV:"><prop><checked-in
xmlns="DAV:"/></prop></propfind>HTTP/1.1 207 Multi-Status
Date: Fri, 29 Oct 2004 11:39:09 GMT
Server: Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4
Transfer-Encoding: chunked
Content-Type: text/xml; charset="utf-8"

190
<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:ns0="DAV:">
<D:response xmlns:lp1="DAV:"
xmlns:lp2="http://subversion.tigris.org/xmlns/dav/">
<D:href>/svn/bogo2/!svn/vcc/default</D:href>
<D:propstat>
<D:prop>
<lp1:checked-in><D:href>/svn/bogo2/!svn/bln/0</D:href></lp1:checked-in>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>

0

CHECKOUT /svn/bogo2/!svn/bln/0 HTTP/1.1
Host: 192.168.7.112
User-Agent: SVN/1.0.6 (r10360) neon/0.24.7
Connection: TE
TE: trailers
Content-Length: 184
Authorization: Basic Z2lnbzp0b2ZmZWU=

<?xml version="1.0" encoding="utf-8"?><D:checkout
xmlns:D="DAV:"><D:activity-set><D:href>/svn/bogo2/!svn/act/bac958e8-ea1c-5946-9812-ad1dbe046cd0</D:href></D:activity-set></D:checkout>HTTP/1.1
201 Created
Date: Fri, 29 Oct 2004 11:39:09 GMT
Server: Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4
Cache-Control: no-cache
Location:
http://Twinz/svn/bogo2/!svn/wbl/bac958e8-ea1c-5946-9812-ad1dbe046cd0/0
Content-Length: 337
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>201 Created</title>
</head><body>
<h1>Created</h1>
<p>Checked-out resource
/svn/bogo2/!svn/wbl/bac958e8-ea1c-5946-9812-ad1dbe046cd0/0 has been
created.</p>
<hr />
<address>Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4 Server at Twinz
Port 80</address>
</body></html>
PROPPATCH /svn/bogo2/!svn/wbl/bac958e8-ea1c-5946-9812-ad1dbe046cd0/0
HTTP/1.1
Host: 192.168.7.112
User-Agent: SVN/1.0.6 (r10360) neon/0.24.7
Connection: TE
TE: trailers
Content-Length: 188
Content-Type: application/xml
Authorization: Basic Z2lnbzp0b2ZmZWU=

<?xml version="1.0" encoding="utf-8" ?>
<D:propertyupdate xmlns:D="DAV:"><D:set><D:prop><log
xmlns="http://subversion.tigris.org/xmlns/svn/"></log></D:prop></D:set>
</D:propertyupdate>
HTTP/1.1 207 Multi-Status
Date: Fri, 29 Oct 2004 11:39:09 GMT
Server: Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4
Transfer-Encoding: chunked
Content-Type: text/xml; charset="utf-8"

162
<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:"
xmlns:ns1="http://subversion.tigris.org/xmlns/svn/" xmlns:ns0="DAV:">
<D:response>
<D:href>/svn/bogo2/!svn/wbl/bac958e8-ea1c-5946-9812-ad1dbe046cd0/0</D:href>
<D:propstat>
<D:prop>
<ns1:log/>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>

0

PROPFIND /svn/bogo2 HTTP/1.1
Host: 192.168.7.112
User-Agent: SVN/1.0.6 (r10360) neon/0.24.7
Connection: TE
TE: trailers
Content-Length: 111
Content-Type: text/xml
Depth: 0
Authorization: Basic Z2lnbzp0b2ZmZWU=

<?xml version="1.0" encoding="utf-8"?><propfind
xmlns="DAV:"><prop><checked-in
xmlns="DAV:"/></prop></propfind>HTTP/1.1 207 Multi-Status
Date: Fri, 29 Oct 2004 11:39:09 GMT
Server: Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4
Transfer-Encoding: chunked
Content-Type: text/xml; charset="utf-8"

181
<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:ns0="DAV:">
<D:response xmlns:lp1="DAV:"
xmlns:lp2="http://subversion.tigris.org/xmlns/dav/">
<D:href>/svn/bogo2/</D:href>
<D:propstat>
<D:prop>
<lp1:checked-in><D:href>/svn/bogo2/!svn/ver/0/</D:href></lp1:checked-in>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>

0

CHECKOUT /svn/bogo2/!svn/ver/0/ HTTP/1.1
Host: 192.168.7.112
User-Agent: SVN/1.0.6 (r10360) neon/0.24.7
Connection: TE
TE: trailers
Content-Length: 184
Authorization: Basic Z2lnbzp0b2ZmZWU=

<?xml version="1.0" encoding="utf-8"?><D:checkout
xmlns:D="DAV:"><D:activity-set><D:href>/svn/bogo2/!svn/act/bac958e8-ea1c-5946-9812-ad1dbe046cd0</D:href></D:activity-set></D:checkout>HTTP/1.1
201 Created
Date: Fri, 29 Oct 2004 11:39:09 GMT
Server: Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4
Cache-Control: no-cache
Location:
http://Twinz/svn/bogo2/!svn/wrk/bac958e8-ea1c-5946-9812-ad1dbe046cd0/
Content-Length: 336
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>201 Created</title>
</head><body>
<h1>Created</h1>
<p>Checked-out resource
/svn/bogo2/!svn/wrk/bac958e8-ea1c-5946-9812-ad1dbe046cd0/ has been
created.</p>
<hr />
<address>Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4 Server at Twinz
Port 80</address>
</body></html>
PROPFIND /svn/bogo2/Document.txt HTTP/1.1
Host: 192.168.7.112
User-Agent: SVN/1.0.6 (r10360) neon/0.24.7
Connection: TE
TE: trailers
Content-Length: 300
Content-Type: text/xml
Depth: 0
Authorization: Basic Z2lnbzp0b2ZmZWU=

<?xml version="1.0" encoding="utf-8"?><propfind
xmlns="DAV:"><prop><version-controlled-configuration
xmlns="DAV:"/><resourcetype xmlns="DAV:"/><baseline-relative-path
xmlns="http://subversion.tigris.org/xmlns/dav/"/><repository-uuid
xmlns="http://subversion.tigris.org/xmlns/dav/"/></prop></propfind>HTTP/1.1
404 Not Found
Date: Fri, 29 Oct 2004 11:39:09 GMT
Server: Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4
Content-Length: 315
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /svn/bogo2/Document.txt was not found on this
server.</p>
<hr />
<address>Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4 Server at Twinz
Port 80</address>
</body></html>
PROPFIND /svn/bogo1/Document.txt HTTP/1.1
Host: 192.168.7.112
User-Agent: SVN/1.0.6 (r10360) neon/0.24.7
Connection: TE
TE: trailers
Content-Length: 300
Content-Type: text/xml
Depth: 0
Authorization: Basic Z2lnbzp0b2ZmZWU=

<?xml version="1.0" encoding="utf-8"?><propfind
xmlns="DAV:"><prop><version-controlled-configuration
xmlns="DAV:"/><resourcetype xmlns="DAV:"/><baseline-relative-path
xmlns="http://subversion.tigris.org/xmlns/dav/"/><repository-uuid
xmlns="http://subversion.tigris.org/xmlns/dav/"/></prop></propfind>HTTP/1.1
207 Multi-Status
Date: Fri, 29 Oct 2004 11:39:09 GMT
Server: Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4
Transfer-Encoding: chunked
Content-Type: text/xml; charset="utf-8"

29c
<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:"
xmlns:ns1="http://subversion.tigris.org/xmlns/dav/" xmlns:ns0="DAV:">
<D:response xmlns:lp1="DAV:"
xmlns:lp2="http://subversion.tigris.org/xmlns/dav/">
<D:href>/svn/bogo1/Document.txt</D:href>
<D:propstat>
<D:prop>
<lp1:version-controlled-configuration><D:href>/svn/bogo1/!svn/vcc/default</D:href></lp1:version-controlled-configuration>
<lp1:resourcetype/>
<lp2:baseline-relative-path>Document.txt</lp2:baseline-relative-path>
<lp2:repository-uuid>2aa9306e-94e7-0310-9430-92f42a8b3de6</lp2:repository-uuid>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>

0

PROPFIND /svn/bogo1/!svn/vcc/default HTTP/1.1
Host: 192.168.7.112
User-Agent: SVN/1.0.6 (r10360) neon/0.24.7
Connection: TE
TE: trailers
Content-Length: 148
Content-Type: text/xml
Label: 1
Depth: 0
Authorization: Basic Z2lnbzp0b2ZmZWU=

<?xml version="1.0" encoding="utf-8"?><propfind
xmlns="DAV:"><prop><baseline-collection xmlns="DAV:"/><version-name
xmlns="DAV:"/></prop></propfind>HTTP/1.1 207 Multi-Status
Date: Fri, 29 Oct 2004 11:39:10 GMT
Server: Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4
Vary: Label
Transfer-Encoding: chunked
Content-Type: text/xml; charset="utf-8"

1c3
<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:ns0="DAV:">
<D:response xmlns:lp1="DAV:"
xmlns:lp2="http://subversion.tigris.org/xmlns/dav/">
<D:href>/svn/bogo1/!svn/bln/1</D:href>
<D:propstat>
<D:prop>
<lp1:baseline-collection><D:href>/svn/bogo1/!svn/bc/1/</D:href></lp1:baseline-collection>
<lp1:version-name>1</lp1:version-name>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>

0

COPY /svn/bogo1/!svn/bc/1/Document.txt HTTP/1.1
Host: 192.168.7.112
User-Agent: SVN/1.0.6 (r10360) neon/0.24.7
Connection: TE
TE: trailers
Depth: 0
Destination:
http://192.168.7.112/svn/bogo2/!svn/wrk/bac958e8-ea1c-5946-9812-ad1dbe046cd0/Document.txt
Overwrite: T
Authorization: Basic Z2lnbzp0b2ZmZWU=

HTTP/1.1 500 Internal Server Error
Date: Fri, 29 Oct 2004 11:39:10 GMT
Server: Apache/2.0.49 (Gentoo/Linux) DAV/2 SVN/1.0.4
Content-Length: 266
Connection: close
Content-Type: text/xml; charset="utf-8"

<?xml version="1.0" encoding="utf-8"?>
<D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns"
xmlns:C="svn:">
<C:error/>
<m:human-readable errcode="160012">
Cannot modify transaction named '1' in filesystem '/home/svn/bogo1/db'
</m:human-readable>
</D:error>

Best,
Geoff

--
best,
geoff
regrettably the email address above will bounce
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Oct 29 15:29:16 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.