# HG changeset patch # User Oleksandr Gavenko # Date 1424730298 -7200 # Node ID 5168dff8f1ebe2a8d22442a98ea1dc4f384a87e6 # Parent 17d67f65193b819da822f8539ceea3345795394f rebasedraft alias for rebasing unpublished changes in current branch into published changes. diff -r 17d67f65193b -r 5168dff8f1eb .hgrc --- a/.hgrc Sun Feb 22 23:32:48 2015 +0200 +++ b/.hgrc Tue Feb 24 00:24:58 2015 +0200 @@ -16,6 +16,9 @@ outgoing = -v revert = --no-backup +[alias] +rebasedraft = rebase -s 'draft() & branch(.)' -d 'public() & branch(.)' + [diff] git = 1 unified = 5