--- a/mercurial/patch.py Tue Dec 25 14:30:10 2007 +0100 +++ b/mercurial/patch.py Tue Dec 25 22:23:58 2007 +0100 @@ -1376,7 +1376,6 @@ last = stat.pop() stat.insert(0, last) stat = ''.join(stat) - if stat.startswith('0 files'): raise ValueError return stat except: raise finally: