Show More
@@ -1931,10 +1931,9 b' def _update(' | |||
|
1931 | 1931 | hint = _(b"use 'hg update' or check 'hg heads'") |
|
1932 | 1932 | raise error.Abort(msg, hint=hint) |
|
1933 | 1933 | if not force and (wc.files() or wc.deleted()): |
|
1934 | raise error.StateError( | |
|
1935 |
|
|
|
1936 | hint=_(b"use 'hg status' to list changes"), | |
|
1937 | ) | |
|
1934 | msg = _(b"uncommitted changes") | |
|
1935 | hint = _(b"use 'hg status' to list changes") | |
|
1936 | raise error.StateError(msg, hint=hint) | |
|
1938 | 1937 | if not wc.isinmemory(): |
|
1939 | 1938 | for s in sorted(wc.substate): |
|
1940 | 1939 | wc.sub(s).bailifchanged() |
General Comments 0
You need to be logged in to leave comments.
Login now