[revml] Expected revision inaccurate with Filter::map

Chia-liang Kao clkao@clkao.org
Wed, 8 Sep 2004 16:30:04 +0100


--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Sep 08, 2004 at 11:01:46AM -0400, Barrie Slaymaker wrote:
> > However in SVN::Mirror's t/3vcp-cvs.t, those branch-selective mirrors
> > have current estimated revisions displayed in the progress bar, but
> > they just run once.
>=20
> Are they accurate?

Yes, and they actually know the real numbers revisison to keep,
for the same cvs source repository:

- Mirroring trunk only, which is with the following map:

##  =3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
    (...)<> $1<>      =20
    ...     <<delete>>=20

3vcp-cvs.t: found 123 rev(s) with 22 tag applications
3vcp-cvs.t: writing revisions: [##########] 31/31 revision 31

- Mirroring everything, which is no map filter at all:
3vcp-cvs.t: found 123 rev(s) with 22 tag applications
3vcp-cvs.t: writing revisions: [##########] 123/123 revision 105

- Mirroring selective branches, which the map filter is:

##  =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
    (...)<>              $1<>            =20
    (...)<somebranch>    $1<somebranch>  =20
    (...)<anotherbranch> $1<anotherbranch>
    ...                  <<delete>>      =20

3vcp-cvs.t: found 123 rev(s) with 22 tag applications
3vcp-cvs.t: writing revisions: [##########] 84/84 revision 164

> (note that there's now a -q to suppress the progress bar and banner if
> you want to).

Noted. :)

Cheers,
CLK

--6TrnltStXW4iwmi0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBPyV8k1XldlEkA5YRApQJAJ0X7uNjNvjbIg0jHXSPZ9lXyq2CVQCcDwzT
vZoifPws/tZ9Zo6gsZjsia8=
=iJKz
-----END PGP SIGNATURE-----

--6TrnltStXW4iwmi0--