hgext/uncommit.py
branchstable
changeset 35809 f9a82b9b2c36
parent 35435 f01101100043
child 36947 3d0178bf1039
equal deleted inserted replaced
35808:178aacdc25db 35809:f9a82b9b2c36
   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', [])
   194 @command('^unamend', [])
   195 def unamend(ui, repo, **opts):
   195 def unamend(ui, repo, **opts):
   196     """
   196     """undo the most recent amend operation on a current changeset
   197     undo the most recent amend operation on a current changeset
       
   198 
   197 
   199     This command will roll back to the previous version of a changeset,
   198     This command will roll back to the previous version of a changeset,
   200     leaving working directory in state in which it was before running
   199     leaving working directory in state in which it was before running
   201     `hg amend` (e.g. files modified as part of an amend will be
   200     `hg amend` (e.g. files modified as part of an amend will be
   202     marked as modified `hg status`)
   201     marked as modified `hg status`)