equal
deleted
inserted
replaced
189 def predecessormarkers(ctx): |
189 def predecessormarkers(ctx): |
190 """yields the obsolete markers marking the given changeset as a successor""" |
190 """yields the obsolete markers marking the given changeset as a successor""" |
191 for data in ctx.repo().obsstore.predecessors.get(ctx.node(), ()): |
191 for data in ctx.repo().obsstore.predecessors.get(ctx.node(), ()): |
192 yield obsutil.marker(ctx.repo(), data) |
192 yield obsutil.marker(ctx.repo(), data) |
193 |
193 |
194 @command('^unamend', [], helpcategory=command.CATEGORY_CHANGE_MANAGEMENT) |
194 @command('unamend', [], helpcategory=command.CATEGORY_CHANGE_MANAGEMENT, |
|
195 helpbasic=True) |
195 def unamend(ui, repo, **opts): |
196 def unamend(ui, repo, **opts): |
196 """undo the most recent amend operation on a current changeset |
197 """undo the most recent amend operation on a current changeset |
197 |
198 |
198 This command will roll back to the previous version of a changeset, |
199 This command will roll back to the previous version of a changeset, |
199 leaving working directory in state in which it was before running |
200 leaving working directory in state in which it was before running |