tg.sh: add ensure_clean_topfiles
commitc1f60f6994b3a5cd295b923b54b919ae1e1632d9
authorKyle J. McKay <mackyle@gmail.com>
Mon, 27 Mar 2017 22:20:26 +0000 (27 15:20 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 27 Mar 2017 22:20:26 +0000 (27 15:20 -0700)
tree234ad8ccf2fe8a24751b02cb446d4a7fc470934f
parent45fb590ceda3f5b59bf91cf68d7f66a6b594e64a
tg.sh: add ensure_clean_topfiles

A companion to the ensure_clean_tree function, the
ensure_clean_topfiles function makes sure that it's okay
to overwrite any existing .topdeps and .topmsg files
because either they do not exist or they are already
committed.

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