Merge lp:~lifeless/bzr/knit-tests into lp:~bzr/bzr/trunk-old

Proposed by Robert Collins
Status: Merged
Merged at revision: not available
Proposed branch: lp:~lifeless/bzr/knit-tests
Merge into: lp:~bzr/bzr/trunk-old
Diff against target: 12 lines
To merge this branch: bzr merge lp:~lifeless/bzr/knit-tests
Reviewer Review Type Date Requested Status
Andrew Bennetts Approve
Review via email: mp+10232@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Robert Collins (lifeless) wrote :

[MERGE] Lock the format knit retry tests depend on - knits aren't used
for 2a formats.

--

Revision history for this message
Andrew Bennetts (spiv) :
review: Approve
Revision history for this message
John A Meinel (jameinel) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
> Robert Collins has proposed merging lp:~lifeless/bzr/knit-tests into lp:bzr.
>
> Requested reviews:
> bzr-core (bzr-core)
>
> [MERGE] Lock the format knit retry tests depend on - knits aren't used
> for 2a formats.
>
>

But we *should* retry the fetches for Groupcompress formats. I don't
know the specific test here, though.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqJW9IACgkQJdeBCYSNAAMqxgCfRT/VmwklRDG6ar+N4jG4biWl
C2IAnj+Dl7ZkRlpV41qTgAA7B/iCwUom
=jqdg
-----END PGP SIGNATURE-----

Revision history for this message
Robert Collins (lifeless) wrote :

On Mon, 2009-08-17 at 13:33 +0000, John A Meinel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Robert Collins wrote:
> > Robert Collins has proposed merging lp:~lifeless/bzr/knit-tests into lp:bzr.
> >
> > Requested reviews:
> > bzr-core (bzr-core)
> >
> > [MERGE] Lock the format knit retry tests depend on - knits aren't used
> > for 2a formats.
> >
> >
>
> But we *should* retry the fetches for Groupcompress formats. I don't
> know the specific test here, though.

GCVF doesn't inherit from KVF, though it does the use DirectPackAccess
object directly too.

The test that is failing is currently knit-pack specific, locking it
neither reduces or expands test coverage : if we have a hole its
preserved.

-Rob

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bzrlib/tests/test_knit.py'
2--- bzrlib/tests/test_knit.py 2009-07-28 08:09:13 +0000
3+++ bzrlib/tests/test_knit.py 2009-08-17 20:35:53 +0000
4@@ -366,7 +366,7 @@
5 :return: (versioned_file, reload_counter)
6 versioned_file a KnitVersionedFiles using the packs for access
7 """
8- builder = self.make_branch_builder('.')
9+ builder = self.make_branch_builder('.', format="1.9")
10 builder.start_series()
11 builder.build_snapshot('rev-1', None, [
12 ('add', ('', 'root-id', 'directory', None)),