def rebase_commits(ui, repo, hg_repo_path, **opts):
- """Rebases the current uncommitted revisions onto the top of the branch.
+ """Rebases the current unpushed revisions onto the top of the Subversion branch.
+ This moves a line of development from making its own head to the top of
+ Subversion development, linearizing the changes. In order to make sure you
+ rebase on top of the current top of Subversion work, you should probably run
+ 'hg svn pull' before running this.
hge = hg_delta_editor.HgChangeReceiver(hg_repo_path,