comparison hgext/histedit.py @ 19644:bd5c1b49d106 stable

histedit: add description about "histedit --outgoing" to command help Before this patch, there is no explicit description that argument is treated as the URL of the destination repository when "--outgoing" is specified. This patch adds description about "histedit --outgoing" to command help of it.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Mon, 26 Aug 2013 16:11:21 +0900
parents 623753602f43
children d0dbe5330177 fab753424e78
comparison
equal deleted inserted replaced
19643:623753602f43 19644:bd5c1b49d106
449 ('', 'abort', False, _('abort an edit in progress')), 449 ('', 'abort', False, _('abort an edit in progress')),
450 ('o', 'outgoing', False, _('changesets not found in destination')), 450 ('o', 'outgoing', False, _('changesets not found in destination')),
451 ('f', 'force', False, 451 ('f', 'force', False,
452 _('force outgoing even for unrelated repositories')), 452 _('force outgoing even for unrelated repositories')),
453 ('r', 'rev', [], _('first revision to be edited'))], 453 ('r', 'rev', [], _('first revision to be edited'))],
454 _("ANCESTOR")) 454 _("ANCESTOR | --outgoing [URL]"))
455 def histedit(ui, repo, *freeargs, **opts): 455 def histedit(ui, repo, *freeargs, **opts):
456 """interactively edit changeset history 456 """interactively edit changeset history
457 457
458 This command edits changesets between ANCESTOR and the parent of 458 This command edits changesets between ANCESTOR and the parent of
459 the working directory. 459 the working directory.
460
461 With --outgoing, this edits changesets not found in the
462 destination repository. If URL of the destination is omitted, the
463 'default-push' (or 'default') path will be used.
460 """ 464 """
461 # TODO only abort if we try and histedit mq patches, not just 465 # TODO only abort if we try and histedit mq patches, not just
462 # blanket if mq patches are applied somewhere 466 # blanket if mq patches are applied somewhere
463 mq = getattr(repo, 'mq', None) 467 mq = getattr(repo, 'mq', None)
464 if mq and mq.applied: 468 if mq and mq.applied: