mercurial/commands.py
changeset 9451 3e673c988c85
parent 9450 e78967d3dd6f
child 9456 c564dbb2a6d5
child 9503 a23ee0208f77
equal deleted inserted replaced
9450:e78967d3dd6f 9451:3e673c988c85
  3039 
  3039 
  3040     if not rev:
  3040     if not rev:
  3041         rev = node
  3041         rev = node
  3042 
  3042 
  3043     if check and clean:
  3043     if check and clean:
  3044         raise util.Abort(_("cannot specify both -c and -C"))
  3044         raise util.Abort(_("cannot specify both -c/--check and -C/--clean"))
  3045 
  3045 
  3046     if check:
  3046     if check:
  3047         # we could use dirty() but we can ignore merge and branch trivia
  3047         # we could use dirty() but we can ignore merge and branch trivia
  3048         c = repo[None]
  3048         c = repo[None]
  3049         if c.modified() or c.added() or c.removed():
  3049         if c.modified() or c.added() or c.removed():