Show More
@@ -1546,14 +1546,7 b' are you sure you want to review/edit and' | |||||
1546 | new changeset will be created (the normal commit behavior). |
|
1546 | new changeset will be created (the normal commit behavior). | |
1547 | """ |
|
1547 | """ | |
1548 |
|
1548 | |||
1549 | try: |
|
1549 | if opts.get('amend') is None: | |
1550 | ver = float(util.version()[:3]) |
|
|||
1551 | except ValueError: |
|
|||
1552 | ver = 1 |
|
|||
1553 | if ver < 2.19: |
|
|||
1554 | msg = _("The amend option is unavailable with hg versions < 2.2\n\n" |
|
|||
1555 | "Press any key to continue.") |
|
|||
1556 | elif opts.get('amend') is None: |
|
|||
1557 | opts['amend'] = True |
|
1550 | opts['amend'] = True | |
1558 | msg = _("Amend option is turned on -- committing the currently " |
|
1551 | msg = _("Amend option is turned on -- committing the currently " | |
1559 | "selected changes will not create a new changeset, but " |
|
1552 | "selected changes will not create a new changeset, but " |
General Comments 0
You need to be logged in to leave comments.
Login now