Changes between Version 17 and Version 18 of MercurialBranches
- Timestamp:
- Mar 1, 2011, 12:58:27 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MercurialBranches
v17 v18 73 73 hg transplant $HGREV || exit 1; 74 74 # Modify the commit message 75 # We need to get added files, since after rollback this is forgotten 76 ADDED=$(hg log -r tip --template '{file_adds}') 77 REMOVED=$(hg log -r tip --template '{file_dels}') 75 78 hg rollback > /dev/null || exit 1 79 if [ "x$ADDED" != "x" ] 80 then 81 hg add $ADDED || exit 1 82 fi 83 if [ "x$REMOVED" != "x" ] 84 then 85 hg remove $REMOVED || exit 1 86 fi 76 87 hg commit -l hg-commit-message.txt || exit 1 77 88 echo "Backport committed."