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

Re: BUG: svnserve - serverside move

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Tue, 22 Jan 2008 11:58:02 -0500

Adam Bartel <bartel_at_wsisiz.edu.pl> writes:
> I'd like to report a bug in svnserve (v 1.4.5)
> While doing serverside move (and possibly any other serverside action)
> when no comment is specified client ends up hanged.
> Tested on clients:
> tortoisesvn 1.4.7 (WinXP)
> svn 1.4.3 (Gentoo 2.6.23-r3)
> SVN is accessed via svn:// protocol

I just tested this with latest trunk 'svn' (see script below) and it
works as expected: the client launches an external editor for the log
message, since no message was supplied with -m or -F.

Your problem is probably in the editor-launching stage: maybe svn is
launching an editor that is displaying somewhere you can't see it, or
something? Anyway, below is the script; put it in a directory of its
own and invoke it from there.





# Select an access method. If svn://, the svnserve setup is
# handled automagically by this script; but if http://, then
# you'll have to configure it yourself first.
# URL=http://localhost/SOMETHING/repos
# URL=file:///`pwd`/repos

rm -rf repos wc import-me

${SVNADMIN} create repos

# These are for svnserve only.
echo "[general]" > repos/conf/svnserve.conf
echo "anon-access = write" >> repos/conf/svnserve.conf
echo "auth-access = write" >> repos/conf/svnserve.conf

# The server will only be contacted if $URL is svn://foo, of course.
${SVNSERVE} --pid-file svnserve-pid -d -r `pwd`

echo "### Making a Greek Tree for import..."
mkdir import-me
mkdir import-me/trunk
mkdir import-me/tags
mkdir import-me/branches
mkdir import-me/trunk/A
mkdir import-me/trunk/A/B/
mkdir import-me/trunk/A/C/
mkdir import-me/trunk/A/D/
mkdir import-me/trunk/A/B/E/
mkdir import-me/trunk/A/B/F/
mkdir import-me/trunk/A/D/G/
mkdir import-me/trunk/A/D/H/
echo "This is the file 'iota'." > import-me/trunk/iota
echo "This is the file 'A/mu'." > import-me/trunk/A/mu
echo "This is the file 'A/B/lambda'." > import-me/trunk/A/B/lambda
echo "This is the file 'A/B/E/alpha'." > import-me/trunk/A/B/E/alpha
echo "This is the file 'A/B/E/beta'." > import-me/trunk/A/B/E/beta
echo "This is the file 'A/D/gamma'." > import-me/trunk/A/D/gamma
echo "This is the file 'A/D/G/pi'." > import-me/trunk/A/D/G/pi
echo "This is the file 'A/D/G/rho'." > import-me/trunk/A/D/G/rho
echo "This is the file 'A/D/G/tau'." > import-me/trunk/A/D/G/tau
echo "This is the file 'A/D/H/chi'." > import-me/trunk/A/D/H/chi
echo "This is the file 'A/D/H/omega'." > import-me/trunk/A/D/H/omega
echo "This is the file 'A/D/H/psi'." > import-me/trunk/A/D/H/psi
echo "### Done."
echo ""
echo "### Importing it..."
(cd import-me; ${SVN} import -q -m "Initial import." ${URL})
echo "### Done."
echo ""

${SVN} co -q ${URL}/trunk wc

cd wc
echo "###"
echo "### Okay, now run this command by hand:"
echo "###"
echo ""
echo "${SVN} mv ${URL}/trunk/A/D/gamma ${URL}/trunk/A/D/slamma"
echo ""
echo "###"
echo "### (Afterwards, don't forget to run `pwd`/k to kill svnserve.)"
echo "###"
cd ..

# Put kill command in a file, in case need to run it manually.
echo "kill -9 `cat svnserve-pid`" > k
chmod a+rwx k
# ./k

To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-01-22 17:58:22 CET

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