Show More
@@ -1162,18 +1162,17 b' class queue(object):' | |||||
1162 | _("local changes found, qrefresh first") |
|
1162 | _("local changes found, qrefresh first") | |
1163 | _("local changed subrepos found, qrefresh first") |
|
1163 | _("local changed subrepos found, qrefresh first") | |
1164 |
|
1164 | |||
1165 | cmdutil.checkunfinished(repo) |
|
|||
1166 | s = repo.status() |
|
1165 | s = repo.status() | |
1167 | if not force: |
|
1166 | if not force: | |
1168 | if len(repo[None].parents()) > 1: |
|
1167 | cmdutil.checkunfinished(repo) | |
1169 | _("outstanding uncommitted merge") #i18 tool detection |
|
|||
1170 | raise error.Abort(_("outstanding uncommitted merge"+ excsuffix)) |
|
|||
1171 | if s.modified or s.added or s.removed or s.deleted: |
|
1168 | if s.modified or s.added or s.removed or s.deleted: | |
1172 | _("local changes found") # i18n tool detection |
|
1169 | _("local changes found") # i18n tool detection | |
1173 | raise error.Abort(_("local changes found" + excsuffix)) |
|
1170 | raise error.Abort(_("local changes found" + excsuffix)) | |
1174 | if checksubstate(repo): |
|
1171 | if checksubstate(repo): | |
1175 | _("local changed subrepos found") # i18n tool detection |
|
1172 | _("local changed subrepos found") # i18n tool detection | |
1176 | raise error.Abort(_("local changed subrepos found" + excsuffix)) |
|
1173 | raise error.Abort(_("local changed subrepos found" + excsuffix)) | |
|
1174 | else: | |||
|
1175 | cmdutil.checkunfinished(repo, skipmerge=True) | |||
1177 | return s |
|
1176 | return s | |
1178 |
|
1177 | |||
1179 | _reserved = ('series', 'status', 'guards', '.', '..') |
|
1178 | _reserved = ('series', 'status', 'guards', '.', '..') |
@@ -164,8 +164,7 b' plain headers' | |||||
164 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
164 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved | |
165 | use 'hg resolve' to retry unresolved file merges or 'hg merge --abort' to abandon |
|
165 | use 'hg resolve' to retry unresolved file merges or 'hg merge --abort' to abandon | |
166 | (no more unresolved files) |
|
166 | (no more unresolved files) | |
167 | abort: outstanding uncommitted merge |
|
167 | abort: cannot manage merge changesets | |
168 | (use 'hg commit' or 'hg merge --abort') |
|
|||
169 |
$ |
|
168 | $ rm -r sandbox | |
170 |
|
169 | |||
171 | hg headers |
|
170 | hg headers | |
@@ -244,8 +243,7 b' hg headers' | |||||
244 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
243 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved | |
245 | use 'hg resolve' to retry unresolved file merges or 'hg merge --abort' to abandon |
|
244 | use 'hg resolve' to retry unresolved file merges or 'hg merge --abort' to abandon | |
246 | (no more unresolved files) |
|
245 | (no more unresolved files) | |
247 | abort: outstanding uncommitted merge |
|
246 | abort: cannot manage merge changesets | |
248 | (use 'hg commit' or 'hg merge --abort') |
|
|||
249 |
$ |
|
247 | $ rm -r sandbox | |
250 |
|
248 | |||
251 | Test saving last-message.txt |
|
249 | Test saving last-message.txt |
General Comments 0
You need to be logged in to leave comments.
Login now