hgext/absorb.py
changeset 39472 ab452995eaff
parent 39025 9204445ad54c
child 39802 d50125dec2c1
equal deleted inserted replaced
39471:481db51c83e9 39472:ab452995eaff
   915         if limit and len(stack) >= limit:
   915         if limit and len(stack) >= limit:
   916             ui.warn(_('absorb: only the recent %d changesets will '
   916             ui.warn(_('absorb: only the recent %d changesets will '
   917                       'be analysed\n')
   917                       'be analysed\n')
   918                     % limit)
   918                     % limit)
   919     if not stack:
   919     if not stack:
   920         raise error.Abort(_('no changeset to change'))
   920         raise error.Abort(_('no mutable changeset to change'))
   921     if targetctx is None: # default to working copy
   921     if targetctx is None: # default to working copy
   922         targetctx = repo[None]
   922         targetctx = repo[None]
   923     if pats is None:
   923     if pats is None:
   924         pats = ()
   924         pats = ()
   925     if opts is None:
   925     if opts is None: