Show More
@@ -1870,8 +1870,8 b' class localrepository(object):' | |||||
1870 | # then, save the iteration |
|
1870 | # then, save the iteration | |
1871 | if self.obsstore: |
|
1871 | if self.obsstore: | |
1872 | # this message are here for 80 char limit reason |
|
1872 | # this message are here for 80 char limit reason | |
1873 |
mso = _("push includes |
|
1873 | mso = _("push includes obsolete changeset: %s!") | |
1874 |
msu = _("push includes |
|
1874 | msu = _("push includes unstable changeset: %s!") | |
1875 | # If we are to push if there is at least one |
|
1875 | # If we are to push if there is at least one | |
1876 | # obsolete or unstable changeset in missing, at |
|
1876 | # obsolete or unstable changeset in missing, at | |
1877 | # least one of the missinghead will be obsolete or |
|
1877 | # least one of the missinghead will be obsolete or |
@@ -453,7 +453,7 b' refuse to push obsolete changeset' | |||||
453 | $ hg push ../tmpc/ -r 'desc("original_d")' |
|
453 | $ hg push ../tmpc/ -r 'desc("original_d")' | |
454 | pushing to ../tmpc/ |
|
454 | pushing to ../tmpc/ | |
455 | searching for changes |
|
455 | searching for changes | |
456 |
abort: push includes |
|
456 | abort: push includes obsolete changeset: 94b33453f93b! | |
457 | [255] |
|
457 | [255] | |
458 |
|
458 | |||
459 | refuse to push unstable changeset |
|
459 | refuse to push unstable changeset | |
@@ -461,7 +461,7 b' refuse to push unstable changeset' | |||||
461 | $ hg push ../tmpc/ |
|
461 | $ hg push ../tmpc/ | |
462 | pushing to ../tmpc/ |
|
462 | pushing to ../tmpc/ | |
463 | searching for changes |
|
463 | searching for changes | |
464 |
abort: push includes |
|
464 | abort: push includes unstable changeset: cda648ca50f5! | |
465 | [255] |
|
465 | [255] | |
466 |
|
466 | |||
467 | Test that extinct changeset are properly detected |
|
467 | Test that extinct changeset are properly detected |
General Comments 0
You need to be logged in to leave comments.
Login now