diff mercurial/dirstate.py @ 17197:67b8cca2f12b

dirstate: drop assert
author Matt Mackall <mpm@selenic.com>
date Mon, 16 Jul 2012 16:19:53 -0500
parents 2abe975ffb94
children 3c775c5a6c03
line wrap: on
line diff
--- a/mercurial/dirstate.py	Wed Jul 04 01:31:37 2012 +0200
+++ b/mercurial/dirstate.py	Mon Jul 16 16:19:53 2012 -0500
@@ -313,7 +313,6 @@
             _decdirs(self._dirs, f)
 
     def _addpath(self, f, state, mode, size, mtime):
-        assert state not in "?r"
         oldstate = self[f]
         if state == 'a' or oldstate == 'r':
             scmutil.checkfilename(f)