Show More
@@ -31,7 +31,6 b' def add(ui, repo, *pats, **opts):' | |||
|
31 | 31 | """ |
|
32 | 32 | |
|
33 | 33 | bad = [] |
|
34 | exacts = {} | |
|
35 | 34 | names = [] |
|
36 | 35 | m = cmdutil.match(repo, pats, opts) |
|
37 | 36 | oldbad = m.bad |
@@ -194,8 +194,6 b' class cmdalias(object):' | |||
|
194 | 194 | |
|
195 | 195 | args = shlex.split(self.definition) |
|
196 | 196 | cmd = args.pop(0) |
|
197 | opts = [] | |
|
198 | help = '' | |
|
199 | 197 | |
|
200 | 198 | try: |
|
201 | 199 | self.fn, self.opts, self.help = cmdutil.findcmd(cmd, cmdtable, False)[1] |
@@ -181,7 +181,6 b' def enabled():' | |||
|
181 | 181 | '''return a dict of {name: desc} of extensions, and the max name length''' |
|
182 | 182 | exts = {} |
|
183 | 183 | maxlength = 0 |
|
184 | exthelps = [] | |
|
185 | 184 | for ename, ext in extensions(): |
|
186 | 185 | doc = (gettext(ext.__doc__) or _('(no help text available)')) |
|
187 | 186 | ename = ename.split('.')[-1] |
@@ -466,7 +466,7 b' class revlog(object):' | |||
|
466 | 466 | if i: |
|
467 | 467 | try: |
|
468 | 468 | d = self._io.parseindex(f, i, self._inline) |
|
469 |
except (ValueError, IndexError) |
|
|
469 | except (ValueError, IndexError): | |
|
470 | 470 | raise RevlogError(_("index %s is corrupted") % (self.indexfile)) |
|
471 | 471 | self.index, self.nodemap, self._chunkcache = d |
|
472 | 472 | if not self._chunkcache: |
General Comments 0
You need to be logged in to leave comments.
Login now