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

Re: nasty commit bug

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-07-15 20:49:30 CEST

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> I'm going to work on the ra_dav bug now -- if it's what it seems to
> be, it needs to be fixed before Alpha.

It doesn't occur under all conditions. So here's a receipe

$ svnadmin create ~/repo
$ svn co http://localhost:8888/repo -d ~/wc
$ echo foo > ~/wc/foo
$ svn add ~/wc/foo
$ svn ci ~/wc
$ svn up ~/wc
$ echo zz >> ~/wc/foo
$ gdb subversion/clients/cmdline/.libs/lt-svn
(gdb) b main
(gdb) r ci ~/wc
(gdb) b svn_wc_process_committed
(gdb) c
(gdb) k
(gdb) shell rm ~/wc/.svn/lock
(gdb) r
(gdb) c

That reaches svn_wc_process_committed twice. If you do it over
ra_local the second commit will fail.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 15 20:50:10 2002

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.