coding style: maximum line lenght 20 characters?

Martin Geisler mg at lazybytes.net
Sun May 31 05:11:38 CDT 2009


"rupert.thurner" <rupert.thurner at gmail.com> writes:

> does mercurial have a new coding style to avoid lines longer than 20
> characters?
>
> e.g.
>
>     1.60 -        .mergepoint- the branch that has been merged from
> (if present in rlog output)
>     1.61 +        .mergepoint- the branch that has been merged from
>     1.62 +                     (if present in rlog output)

Why 20 characters? I went through the file looking for long lines and
this line was 85 characters long before I broke it. I agree that this
line was not the worst offender, but it just seemed natural and easy to
wrap it now that I saw it.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090531/2bcfd0d8/attachment.pgp 


More information about the Mercurial-devel mailing list