equal
deleted
inserted
replaced
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: |