hg merge: TypeError

Matt Mackall mpm at selenic.com
Thu Jun 2 01:55:41 UTC 2005


On Wed, Jun 01, 2005 at 09:38:37AM -0700, Matt Mackall wrote:
> On Wed, Jun 01, 2005 at 07:24:14PM +0300, Michael S. Tsirkin wrote:
> > 
> > Meanwhile, it might make sense to validate input.
> 
> It essentially does - bogus input will throw exceptions. It just
> doesn't catch the resulting exception.
> 
> It ought to do:
> 
> try:
>    parse
> except:
>    print "Got unexpected input:", d 

And tip now does something like this.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list