# HG changeset patch # User Augie Fackler # Date 1236786439 18000 # Node ID f9e826bd1f1bb9eb287549aba9bcd3605bed80c5 # Parent 79c2c393236202ec41bf27c396c77b5d8fc76a5e Add a function to ammend the latest revision in hg. I don't do this often, but when I need it it is handy. diff --git a/.shell.d/50.vcs_functions.sh b/.shell.d/50.vcs_functions.sh --- a/.shell.d/50.vcs_functions.sh +++ b/.shell.d/50.vcs_functions.sh @@ -48,6 +48,10 @@ function hg-svn-rebase-all() { done } +function hg-ammend() { + hg qimport -r . && hg qref && hg qfin qtip +} + function hg-svn-mkbranch() { local upstream upstream=$(hg svn url)