changeset 17197:67b8cca2f12b

dirstate: drop assert
author Matt Mackall <mpm@selenic.com>
date Mon, 16 Jul 2012 16:19:53 -0500
parents 2abe975ffb94
children ecde35a1af9e
files mercurial/dirstate.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
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)