tg-create.sh: preserve pre-loaded message during update
commitfd899ec046cc1da5caea33ae0ed92138ec188183
authorKyle J. McKay <mackyle@gmail.com>
Thu, 16 Feb 2017 19:01:59 +0000 (16 11:01 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 16 Feb 2017 19:01:59 +0000 (16 11:01 -0800)
tree6b3786afa6e20f769e0cbc858026a8b206d892dc
parentddf4d8cf67ae6649f9a053faee0742fa5fdeab2c
tg-create.sh: preserve pre-loaded message during update

The tg create command may conveniently pre-load a commit message
based on the contents of the .topmsg file for the created branch.

Make sure this is preserved across any needed tg update call by
renaming it just before invoking the tg update code and having the
tg update code restore it just before the update completes.

This restores the behavior that was available before tg create
started using the tg update code to do the base merge for multiple
dependencies.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
tg-create.sh
tg-update.sh