Show More
@@ -1816,9 +1816,11 b' class localrepository(object):' | |||
|
1816 | 1816 | if unfi.obsstore: |
|
1817 | 1817 | # this message are here for 80 char limit reason |
|
1818 | 1818 | mso = _("push includes obsolete changeset: %s!") |
|
1819 |
ms |
|
|
1820 | msb = _("push includes bumped changeset: %s!") | |
|
1821 |
|
|
|
1819 | mst = "push includes %s changeset: %s!" | |
|
1820 | # plain versions for i18n tool to detect them | |
|
1821 | _("push includes unstable changeset: %s!") | |
|
1822 | _("push includes bumped changeset: %s!") | |
|
1823 | _("push includes divergent changeset: %s!") | |
|
1822 | 1824 | # If we are to push if there is at least one |
|
1823 | 1825 | # obsolete or unstable changeset in missing, at |
|
1824 | 1826 | # least one of the missinghead will be obsolete or |
@@ -1827,12 +1829,10 b' class localrepository(object):' | |||
|
1827 | 1829 | ctx = unfi[node] |
|
1828 | 1830 | if ctx.obsolete(): |
|
1829 | 1831 | raise util.Abort(mso % ctx) |
|
1830 |
elif ctx. |
|
|
1831 |
raise util.Abort(ms |
|
|
1832 |
|
|
|
1833 |
|
|
|
1834 | elif ctx.divergent(): | |
|
1835 | raise util.Abort(msd % ctx) | |
|
1832 | elif ctx.troubled(): | |
|
1833 | raise util.Abort(_(mst) | |
|
1834 | % (ctx.troubles()[0], | |
|
1835 | ctx)) | |
|
1836 | 1836 | discovery.checkheads(unfi, remote, outgoing, |
|
1837 | 1837 | remoteheads, newbranch, |
|
1838 | 1838 | bool(inc)) |
General Comments 0
You need to be logged in to leave comments.
Login now