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

Re: Obliterate - progress in BDB and how I'm testing it

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 11 Dec 2009 16:27:47 +0000

Julian Foad <julian.foad_at_wandisco.com> writes:

> $ (cd obj-dir/subversion/tests/cmdline/svn-test-work/working_copies/obliterate_tests-1/ && \
> diff -U2 -p {before,after}.dump/all.bdb)
> --- before.dump/all.bdb 2009-12-11 14:04:52.873840736 +0000
> +++ after.dump/all.bdb 2009-12-11 14:04:53.177814628 +0000
> @@ -10,5 +10,5 @@ revisions:
> (revision 8)
> (revision 9)
> - (revision a)
> + (revision c)
> (revision b)
>
> @@ -38,6 +38,8 @@ transactions:
> b
> (committed 0.0.b 11 (svn:date 2009-12-11T14:04:52.650534Z svn:author jrandom svn:log '') ())
> - next-key
> c
> + (committed 0.0.c 10 (svn:date 2009-12-11T14:04:52.372379Z svn:author jrandom svn:log Rev to be obliterated) ())

I get nearly empty all.bdb files:

$ cd subversion/tests/cmdline
$ ../../../../src2/subversion/tests/cmdline/obliterate_tests.py --fs-type=bdb 1
## new SvnWC:
SvnWC(head_rev=0, state={{'': <svntest.wc.StateItem instance at 0x2739b90>}})
## head-rev == 1
## head-rev == 2
## head-rev == 3
## head-rev == 4
## head-rev == 5
## head-rev == 6
## head-rev == 7
## head-rev == 8
## head-rev == 9
## head-rev == 10
## head-rev == 11
## SvnRepository::dump(rep_dir=/home/pm/sw/subversion/obj2/subversion/tests/cmdline/svn-test-work/repositories/obliterate_tests-1)
## SvnRepository::dump(rep_dir=/home/pm/sw/subversion/obj2/subversion/tests/cmdline/svn-test-work/repositories/obliterate_tests-1)
PASS: obliterate_tests.py 1: test svn obliterate
$ cat svn-test-work/working_copies/obliterate_tests-1/*dump/all.bdb
revisions:
revisions:

-- 
Philip
Received on 2009-12-11 17:28:25 CET

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.