Show More
@@ -13,6 +13,7 from . import ( | |||||
13 | error, |
|
13 | error, | |
14 | obsutil, |
|
14 | obsutil, | |
15 | scmutil, |
|
15 | scmutil, | |
|
16 | stack | |||
16 | ) |
|
17 | ) | |
17 |
|
18 | |||
18 | def _destupdateobs(repo, clean): |
|
19 | def _destupdateobs(repo, clean): | |
@@ -355,9 +356,7 def desthistedit(ui, repo): | |||||
355 | return None |
|
356 | return None | |
356 |
|
357 | |||
357 | def stackbase(ui, repo): |
|
358 | def stackbase(ui, repo): | |
358 | # The histedit default base stops at public changesets, branchpoints, |
|
359 | revs = stack.getstack(repo) | |
359 | # and merges, which is exactly what we want for a stack. |
|
|||
360 | revs = scmutil.revrange(repo, [histeditdefaultrevset]) |
|
|||
361 | return revs.last() if revs else None |
|
360 | return revs.last() if revs else None | |
362 |
|
361 | |||
363 | def _statusotherbook(ui, repo): |
|
362 | def _statusotherbook(ui, repo): |
General Comments 0
You need to be logged in to leave comments.
Login now