usd tag --upload complains about unclean working tree
Bug #1687940 reported by
Christian Ehrhardt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
I wanted to tag upload before opening the MP as we could in the worst case always still move it before merging. By that I found that something is odd (or my expectation wrong).
$ git status
On branch merge-artful
nothing to commit, working directory clean
$ usd tag --upload
05/03/2017 14:13:58 - INFO:Using git repository at /home/paelzer/
05/03/2017 14:13:58 - ERROR:Working tree must be clean to continue.
What now - is it clean or not?
The other tags reconstruct, deconstruct, ... work via "usd tag"
Related branches
~racb/git-ubuntu:improve-tag-dirty-tree-detection
- Server Team CI bot: Approve (continuous-integration)
- Nish Aravamudan: Approve
-
Diff: 26 lines (+8/-1)1 file modifiedgitubuntu/tag.py (+8/-1)
Changed in usd-importer: | |
status: | Incomplete → Fix Released |
To post a comment you must log in.
diff --git a/usd/tag.py b/usd/tag.py
index ac7cb79..455c9e8 100644
--- a/usd/tag.py
+++ b/usd/tag.py
@@ -99,6 +99,7 @@ class USDTag:
if len(self. local_repo. status( )) != 0:
logging. error(' Working tree must be clean to continue.')
sys. exit(1)
+ run(['git', 'status'], stdout=None)
version, _ = self.local_ repo.get_ changelog_ versions_ from_treeish( self.changelog_ commitish)
Apply this locally and see what it says?