docs: def pending(ui, repo, *pats, **opts):
  	"""show pending changes
  
  	Lists pending changes followed by a list of unassigned but modified files.
  	"""
  	if codereview_disabled:
  		raise hg_util.Abort(codereview_disabled)
  
  	quick = opts.get('quick', False)
  	short = opts.get('short', False)
  	m = LoadAllCL(ui, repo, web=not quick and not short)
  	names = m.keys()
  	names.sort()
  	for name in names:
  		cl = m[name]
  		if short:
  			ui.write(name + "\t" + line1(cl.desc) + "\n")
  		else:
  			ui.write(cl.PendingText(quick=quick) + "\n")
  
  	if short:
  		return 0
  	files = DefaultFiles(ui, repo, [])
  	if len(files) > 0:
  		s = "Changed files not in any CL:\n"
  		for f in files:
  			s += "\t" + f + "\n"
  		ui.write(s)