Mercurial > hg
comparison hgext/absorb.py @ 39453:ab452995eaff
absorb: clarify the reason for not finding changesets to modify
I'm used to pushing to non-publishing repos, so this was the last thing I
thought to check.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 04 Sep 2018 20:48:22 -0400 |
parents | 9204445ad54c |
children | d50125dec2c1 |
comparison
equal
deleted
inserted
replaced
39452:481db51c83e9 | 39453: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: |