Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 12965:0d4fb319974b stable
gpg, commands: fixed util.abort to util.Abort typos
gpg: Fixed util.abort typo after entering wrong password.
commands: Fixed util.abort typo in debugindex.
author | Richard Hopkins |
---|---|
date | Tue, 09 Nov 2010 20:25:56 +0000 |
parents | 15ca4bfecfe3 |
children | 609edbc7853f de4a18cbfc98 |
comparison
equal
deleted
inserted
replaced
12962:ff083040a555 | 12965:0d4fb319974b |
---|---|
1268 if len(filelog): | 1268 if len(filelog): |
1269 r = filelog | 1269 r = filelog |
1270 | 1270 |
1271 format = opts.get('format', 0) | 1271 format = opts.get('format', 0) |
1272 if format not in (0, 1): | 1272 if format not in (0, 1): |
1273 raise util.abort("unknown format %d" % format) | 1273 raise util.Abort("unknown format %d" % format) |
1274 | 1274 |
1275 if not r: | 1275 if not r: |
1276 r = revlog.revlog(util.opener(os.getcwd(), audit=False), file_) | 1276 r = revlog.revlog(util.opener(os.getcwd(), audit=False), file_) |
1277 | 1277 |
1278 if format == 0: | 1278 if format == 0: |