Show More
@@ -3047,7 +3047,10 b' def update(ui, repo, node=None, rev=None' | |||||
3047 | if not rev: |
|
3047 | if not rev: | |
3048 | rev = node |
|
3048 | rev = node | |
3049 |
|
3049 | |||
3050 |
if |
|
3050 | if check and clean: | |
|
3051 | raise util.Abort(_("cannot specify both -c/--check and -C/--clean")) | |||
|
3052 | ||||
|
3053 | if check: | |||
3051 | # we could use dirty() but we can ignore merge and branch trivia |
|
3054 | # we could use dirty() but we can ignore merge and branch trivia | |
3052 | c = repo[None] |
|
3055 | c = repo[None] | |
3053 | if c.modified() or c.added() or c.removed(): |
|
3056 | if c.modified() or c.added() or c.removed(): |
General Comments 0
You need to be logged in to leave comments.
Login now