diff mercurial/revlog.py @ 2354:16276b1c0658

Manifest groups may be empty, so don't abort in this case (fixes issue210). Only abort on empty changelog and file revlogs.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 31 May 2006 22:25:20 +0200
parents 9c15f85e61b1
children 568e58eed096
line wrap: on
line diff
--- a/mercurial/revlog.py	Wed May 31 19:41:01 2006 +0200
+++ b/mercurial/revlog.py	Wed May 31 22:25:20 2006 +0200
@@ -1196,8 +1196,6 @@
             start = self.start(base)
             end = self.end(t)
 
-        if node is None:
-            raise RevlogError(_("group to be added is empty"))
         return node
 
     def strip(self, rev, minlink):