Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/dirstate.py @ 3215:53e843840349
Whitespace/Tab cleanup
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 01 Oct 2006 19:26:33 +0200 |
parents | b1f10d3223c1 |
children | 09d99b7e4da0 |
comparison
equal
deleted
inserted
replaced
3214:a5603ad915c5 | 3215:53e843840349 |
---|---|
204 def initdirs(self): | 204 def initdirs(self): |
205 if self.dirs is None: | 205 if self.dirs is None: |
206 self.dirs = {} | 206 self.dirs = {} |
207 for f in self.map: | 207 for f in self.map: |
208 self.updatedirs(f, 1) | 208 self.updatedirs(f, 1) |
209 | 209 |
210 def updatedirs(self, path, delta): | 210 def updatedirs(self, path, delta): |
211 if self.dirs is not None: | 211 if self.dirs is not None: |
212 for c in strutil.findall(path, '/'): | 212 for c in strutil.findall(path, '/'): |
213 pc = path[:c] | 213 pc = path[:c] |
214 self.dirs.setdefault(pc, 0) | 214 self.dirs.setdefault(pc, 0) |