AW: Handling if's with parenthesis

Kauker, Hubert Hubert.Kauker at travelbasys.de
Fri Dec 5 18:09:53 UTC 2008


> Im Auftrag von Matt Mackall
> Gesendet: Freitag, 5. Dezember 2008 18:12
> On Fri, 2008-12-05 at 14:54 +0100, Mads Kiilerich wrote:
> > E.L.K. wrote:
> > > Now we have next contents of this file:
> > > int main(){
> > >
> > >   if (true)
> > >     somefunc();
> > >     somefunc2();
> > > }

> The trade-off is that the average person's error rate when faced with a
> large number of 'trivial' merges will likely be higher than the
> automated tool's error rate.
Good point.

> Merging is hard. Errors will happen occasionally regardless of what tool
> or process you're using.
Hard it is, indeed.
In a test-driven environment, however, when we are finished with some job we
test, hg pull, test, and then finally hg push.
Right?
With decent tests we stand a good chance to spot the error.

Hubert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20081205/d1d330f8/attachment-0001.html>


More information about the Mercurial mailing list