hgext/uncommit.py
changeset 40295 fa88170c10bb
parent 40293 c303d65d2e34
child 41339 7be231f5a4ad
equal deleted inserted replaced
40294:fabbf9310025 40295:fa88170c10bb
   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