[RFC][MERGE] refactoring of info tests

John Arbash Meinel john at arbash-meinel.com
Fri Jun 16 17:40:37 BST 2006


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

Robert Collins wrote:
> This is a partial refactoring of the info tests, prompted when I
> realised they all broke with a new tree format... 
> 
> It preserves the explicit declaration of what is wanted, but tries to
> make that more 'I want a light checkout output' rather than 'this exact
> sequence of bytes', so the tests require less adjustment while still
> being valid.
> 
> Rob
> 

...


> @@ -144,7 +145,7 @@
>  
>  Format:
>         control: Meta directory format 1
> -  working tree: Working tree format 3
> +  working tree: %s
>          branch: Branch format 5
>      repository: %s
>  

^- why is this one parameterized with a %s, but
v- this one uses a hardcoded format.

> @@ -194,7 +196,7 @@
>  
>  Format:
>         control: Meta directory format 1
> -  working tree: Working tree format 3
> +  working tree: Working tree format 4
>          branch: Branch format 5
>      repository: %s
>  

and the rest of these:

>  Format:
>         control: Meta directory format 1
> -  working tree: Working tree format 3
> +  working tree: Working tree format 4
>          branch: Branch format 4
>      repository: Weave repository format 6
>  
> @@ -383,7 +385,7 @@
>  
>  Format:
>         control: Meta directory format 1
> -  working tree: Working tree format 3
> +  working tree: Working tree format 4
>          branch: Branch format 5
>      repository: %s
>  
>  Format:
>         control: Meta directory format 1
> -  working tree: Working tree format 3
> +  working tree: Working tree format 4
>          branch: Branch format 4
>      repository: Weave repository format 6

- -1 for right now. You have a lot of format 3 => format 4 changes, which
doesn't exist yet in bzr.dev.

John
=:->

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

iD8DBQFEkt8FJdeBCYSNAAMRApBRAJkBjMHQ1qgUcLqT31z45tRL/sRxZgCgwtRI
kZAGxyEMkSbAs/zGrYn4qp0=
=dR5l
-----END PGP SIGNATURE-----




More information about the bazaar mailing list