[PATCH] largefiles: flush out tests to cover more operations and known cornercases

Matt Mackall mpm at selenic.com
Fri Oct 14 12:37:54 CDT 2011


On Fri, 2011-10-14 at 11:34 +0200, Na'Tosha Bard wrote:
> 2011/10/14 Matt Mackall <mpm at selenic.com>
> 
> > On Thu, 2011-10-13 at 16:28 +0200, Na'Tosha Bard wrote:
> > > # HG changeset patch
> > > # User Na'Tosha Bard <natosha at unity3d.com>
> > > # Date 1318511732 -7200
> > > # Node ID 1909ef8baa4a0f492ce7d9335e87d9c202a413e9
> > > # Parent  20fe11912c566159668ef2273a43034f1c693a00
> > > largefiles: flush out tests to cover more operations and known
> > cornercases
> >
> > Check-code sez:
> >
> 
> Can someone tell me what this check-code is and how to run it myself?

It's both run automatically by the full test-suite and documented here:

http://mercurial.selenic.com/wiki/ContributingChanges#Coding_style_and_testing

I personally use:

[aliases]
check = !cd `hg root`; python contrib/check-code.py -b `hg st -nmac`

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list