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

Spiro Trikaliotis <[EMAIL PROTECTED]> writes:

> I just upgraded to 1.12.9 (from 1.11.x) and I am a little bit confused
> about the new loginfo format.
> 
> My current loginfo looks like:
> 
> DEFAULT Mail -s %1s [EMAIL PROTECTED]
> 
> Now, I've read
> https://www.cvshome.org/docs/manual/cvs-1.12.12/cvs_18.html#SEC188 and
> added the "1" as suggested there.
> 
> Anyway, I I do not quite understand how to go from here. :-( What must I
> add to my loginfo line to make it behave like it used to behave with
> 1.11.x? I don't get it right from
> https://www.cvshome.org/docs/manual/cvs-1.12.12/cvs_18.html#SEC192.
> 
> From my understanding, changing the line back to
> 
> DEFAULT Mail -s %s [EMAIL PROTECTED]
> 
> (that is, removing the "1" again) should do the trick for me. Anyway, I
> am confused if this is the right step, or if there are any side-effects
> I do not foresee yet?

Read https://www.cvshome.org/docs/manual/cvs-1.12.12/cvs_18.html#SEC188

Add the line 'UseNewInfoFmtStrings=yes' to CVSROOT/config

Use:

DEFAULT Mail -s "%p %s" [EMAIL PROTECTED]

and you should get something that approximates your old behavior.
Without accidentally trying to send e-mail to e-mail addresses you did
not expect when the bare %s would otherwise be sent as multiple
arguments and only the first would be in the subject line.

However, you may wish to consider something like:

DEFAULT Mail -s "%p %{sVv}" [EMAIL PROTECTED]

or you could write a wrapper script that generates the subject line
that you desire and is passed the %p and %{sVv} arguments separately.

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

iD8DBQFCo9Nq3x41pRYZE/gRAqqLAJ9gjvisomA3Dx4sJNJMTyVavAmnbACgpL7v
osF2nAmJX7sxOAgahOP5iCY=
=OcfP
-----END PGP SIGNATURE-----


_______________________________________________
Info-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to