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