Mercurial > public > mercurial-scm > hg-stable
diff hgext/rebase.py @ 27454:3e3be524a712
rebase: simplify documentation about public commits
add reference to graft
author | timeless <timeless@mozdev.org> |
---|---|
date | Fri, 18 Dec 2015 18:06:43 +0000 |
parents | 43c00ca887d1 |
children | a9a047878e14 |
line wrap: on
line diff
--- a/hgext/rebase.py Sun Dec 20 16:33:44 2015 -0600 +++ b/hgext/rebase.py Fri Dec 18 18:06:43 2015 +0000 @@ -110,13 +110,8 @@ useful for linearizing *local* changes relative to a master development tree. - You should not rebase changesets that have already been shared - with others. Doing so will force everybody else to perform the - same rebase or they will end up with duplicated changesets after - pulling in your rebased changesets. - - In its default configuration, Mercurial will prevent you from - rebasing published changes. See :hg:`help phases` for details. + Published commits cannot be rebased (see :hg:`help phases`). + To copy commits, see :hg:`help graft`. If you don't specify a destination changeset (``-d/--dest``), rebase uses the current branch tip as the destination. (The