Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/localrepo.py @ 14064:e4bfb9c337f3
remove unused imports and variables
author | Alexander Solovyov <alexander@solovyov.net> |
---|---|
date | Sat, 30 Apr 2011 13:59:14 +0200 |
parents | bcfe78c3d15c |
children | 72c84f24b420 |
comparison
equal
deleted
inserted
replaced
14063:87ebf72878ed | 14064:e4bfb9c337f3 |
---|---|
188 @propertycache | 188 @propertycache |
189 def dirstate(self): | 189 def dirstate(self): |
190 warned = [0] | 190 warned = [0] |
191 def validate(node): | 191 def validate(node): |
192 try: | 192 try: |
193 r = self.changelog.rev(node) | 193 self.changelog.rev(node) |
194 return node | 194 return node |
195 except error.LookupError: | 195 except error.LookupError: |
196 if not warned[0]: | 196 if not warned[0]: |
197 warned[0] = True | 197 warned[0] = True |
198 self.ui.warn(_("warning: ignoring unknown" | 198 self.ui.warn(_("warning: ignoring unknown" |