Comment 2 for bug 1687940

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Applied as this:

--- a/usd/tag.py
+++ b/usd/tag.py
@@ -3,6 +3,7 @@ import logging
 import os
 import sys
 from usd.git_repository import USDGitRepository, git_dep14_tag
+from usd.run import run

 class USDTag:
     def __init__(self):
@@ -99,8 +100,10 @@ class USDTag:

         if len(self.local_repo.status()) != 0:
             logging.error('Working tree must be clean to continue.')
+ run(['git', 'status'], stdout=None)
+ print(self.local_repo.status())
             sys.exit(1)