From bd8a64df02affe9bd60a1df06f85cbb739da5dba Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Mon, 17 Jun 2013 11:24:14 +0200 Subject: [PATCH] debian_build: more logging when reset repository after build --- debian_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian_build.py b/debian_build.py index 424f911..e99f94b 100755 --- a/debian_build.py +++ b/debian_build.py @@ -462,7 +462,8 @@ if __name__ == '__main__': # .. remove last commit (the one where we added the changelog entry) # FIXME: when 'merge': reset only on original branch? # change checkout back to original branch? - gitrepo.git.reset('--soft', 'HEAD~1') + logger.info('Reset repository to HEAD~1 to revert develop changelog entry.') + logger.debug(gitrepo.git.reset('--soft', 'HEAD~1')) # .. now handle the result if ret: -- 2.39.5