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

reparent bug in svnserve

From: Alexander Sinyushkin <Alexander.Sinyushkin_at_svnkit.com>
Date: 2006-11-23 10:07:38 CET

Hello, guys, seems that there's a bug in svnserve's 'reparent'
behaviour. The point is that svnserve sends 'success' on a try to
reparent to a different repository although documentation says the
opposite. The problem appears because the 'get_fs_path' function in
'serve.c' checks only the first n bytes of two urls, where n - is
the length of the old repos_root, but a new url may contain all the
previous bytes as the old one does, however at the same time it may
be not the same repository. For example:
 old_repos_url = "svn://localhost/svn-test-work/repositories/externals_tests-1"
 new_url = "svn://localhost/svn-test-work/repositories/externals_tests-1.other"

This is what I noticed while running 'externals' python tests.

P.S.: sorry if this letter has come to you twice. I wasn't sure if the
first address was right.

-- 
Alexander Sinyushkin,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 26 15:31:21 2006

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.