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

2009-12-11 Thread Philip Martin
Philip Martin writes: > Either configure or the > testsuite locate the correct db_dump program. r889733. -- Philip

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

2009-12-11 Thread Philip Martin
Julian Foad writes: >> ## >> 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: >

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

2009-12-11 Thread Julian Foad
Philip Martin wrote: > 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={{'': }}) > ## head-rev == 1 > ## head-rev == 2 > ## head-rev == 3 > ## head-rev

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

2009-12-11 Thread Philip Martin
Julian Foad 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 + > +++ after.dump/all.bdb2009-12-11 14:04:53.177814628

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

2009-12-11 Thread Julian Foad
Hi, obliterate fans! For FS-BDB, the core "obliterate" operation follows this sequence, descibed in terms of obliterating one or more nodes within existing revision r10: 1. "begin": start a new txn that is a mutable copy of r10's txn. 2. modify the new txn as desired - e.g. delete '/d/foo/c'