mercurial/commands.py
changeset 12968 609edbc7853f
parent 12964 34034e55424f
parent 12965 0d4fb319974b
child 13022 3fd4e4e81382
equal deleted inserted replaced
12964:34034e55424f 12968:609edbc7853f
  1271         if len(filelog):
  1271         if len(filelog):
  1272             r = filelog
  1272             r = filelog
  1273 
  1273 
  1274     format = opts.get('format', 0)
  1274     format = opts.get('format', 0)
  1275     if format not in (0, 1):
  1275     if format not in (0, 1):
  1276         raise util.abort("unknown format %d" % format)
  1276         raise util.Abort("unknown format %d" % format)
  1277 
  1277 
  1278     if not r:
  1278     if not r:
  1279         r = revlog.revlog(util.opener(os.getcwd(), audit=False), file_)
  1279         r = revlog.revlog(util.opener(os.getcwd(), audit=False), file_)
  1280 
  1280 
  1281     if format == 0:
  1281     if format == 0: