view tests/test-issue433 @ 4077:1305ba7dee88

Prevent type exception on concatenation if diffstat returns None. This will most often occur if diffstat is not installed in the target platform, though may also happen in other cases where diffstat fails to execute. Signed-off-by: Sean Dague <sean@dague.net>
author Sean Dague <sean@dague.net>
date Tue, 30 Jan 2007 10:35:25 -0500
parents 199dcb97a5b6
children 7a7d4937272b
line wrap: on
line source

#!/bin/sh
# http://www.selenic.com/mercurial/bts/issue433

hg init a
cd a       
echo a > a 
hg commit -Ama 

hg parents -r 0 doesnotexist
true