hgext/histedit.py
changeset 19836 e7c0e5f81367
parent 19835 44d7bfe08c14
child 19843 5c0dc243fe5b
equal deleted inserted replaced
19835:44d7bfe08c14 19836:e7c0e5f81367
   460     the working directory.
   460     the working directory.
   461 
   461 
   462     With --outgoing, this edits changesets not found in the
   462     With --outgoing, this edits changesets not found in the
   463     destination repository. If URL of the destination is omitted, the
   463     destination repository. If URL of the destination is omitted, the
   464     'default-push' (or 'default') path will be used.
   464     'default-push' (or 'default') path will be used.
       
   465 
       
   466     For safety, this command is aborted, also if there are ambiguous
       
   467     outgoing revisions which may confuse users: for example, there are
       
   468     multiple branches containing outgoing revisions.
       
   469 
       
   470     Use "min(outgoing() and ::.)" or similar revset specification
       
   471     instead of --outgoing to specify edit target revision exactly in
       
   472     such ambiguous situation. See :hg:`help revsets` for detail about
       
   473     selecting revisions.
   465     """
   474     """
   466     # TODO only abort if we try and histedit mq patches, not just
   475     # TODO only abort if we try and histedit mq patches, not just
   467     # blanket if mq patches are applied somewhere
   476     # blanket if mq patches are applied somewhere
   468     mq = getattr(repo, 'mq', None)
   477     mq = getattr(repo, 'mq', None)
   469     if mq and mq.applied:
   478     if mq and mq.applied: