# HG changeset patch # User Martin von Zweigbergk # Date 1494567495 25200 # Node ID 27e67cfea27fde93285882207f55b00b8d939386 # Parent b47e6b0ba6ca4cb22a23ceac316e02004eae07f5 rebase: rename "target" to "destination" in messages The help text for rebase calls it "the destination" (never "target"), so let's use that in messages as well. diff -r b47e6b0ba6ca -r 27e67cfea27f hgext/rebase.py --- a/hgext/rebase.py Thu May 11 22:38:03 2017 -0700 +++ b/hgext/rebase.py Thu May 11 22:38:15 2017 -0700 @@ -905,7 +905,7 @@ repo.ui.debug(" update to %d:%s\n" % (p1, repo[p1])) mergemod.update(repo, p1, False, True) else: - repo.ui.debug(" already in target\n") + repo.ui.debug(" already in destination\n") repo.dirstate.write(repo.currenttransaction()) repo.ui.debug(" merge against %d:%s\n" % (rev, repo[rev])) if base is not None: @@ -1191,8 +1191,8 @@ if dstates: descendants = set(repo.changelog.descendants(dstates)) if descendants - set(dstates): - repo.ui.warn(_("warning: new changesets detected on target branch, " - "can't strip\n")) + repo.ui.warn(_("warning: new changesets detected on destination " + "branch, can't strip\n")) cleanup = False if cleanup: diff -r b47e6b0ba6ca -r 27e67cfea27f tests/test-rebase-conflicts.t --- a/tests/test-rebase-conflicts.t Thu May 11 22:38:03 2017 -0700 +++ b/tests/test-rebase-conflicts.t Thu May 11 22:38:15 2017 -0700 @@ -250,7 +250,7 @@ rebased as 19c888675e13 rebasing 10:2f2496ddf49d "merge" (tip) future parents are 11 and 7 - already in target + already in destination merge against 10:2f2496ddf49d detach base 9:e31216eec445 searching for copies back to rev 3 diff -r b47e6b0ba6ca -r 27e67cfea27f tests/test-rebase-interruptions.t --- a/tests/test-rebase-interruptions.t Thu May 11 22:38:03 2017 -0700 +++ b/tests/test-rebase-interruptions.t Thu May 11 22:38:15 2017 -0700 @@ -186,7 +186,7 @@ Abort the rebasing: $ hg rebase --abort - warning: new changesets detected on target branch, can't strip + warning: new changesets detected on destination branch, can't strip rebase aborted $ hg tglog