mercurial/commands.py
changeset 37437 814e080a1215
parent 37358 d5e1678026fd
child 37438 7b7ca9ba2de5
equal deleted inserted replaced
37436:9d4f09bfe3ec 37437:814e080a1215
  3490     if opts.get('all'):
  3490     if opts.get('all'):
  3491         if rev or node:
  3491         if rev or node:
  3492             raise error.Abort(_("can't specify a revision with --all"))
  3492             raise error.Abort(_("can't specify a revision with --all"))
  3493 
  3493 
  3494         res = []
  3494         res = []
       
  3495         # TODO this is a massive layering violation. It assumes the repo is
       
  3496         # backed by revlogs with a well-defined naming scheme.
  3495         prefix = "data/"
  3497         prefix = "data/"
  3496         suffix = ".i"
  3498         suffix = ".i"
  3497         plen = len(prefix)
  3499         plen = len(prefix)
  3498         slen = len(suffix)
  3500         slen = len(suffix)
  3499         with repo.lock():
  3501         with repo.lock():