local variable 'deconstruct_tag' referenced before assignment

Bug #1775041 reported by Andreas Hasenack
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-ubuntu
Confirmed
Undecided
Unassigned

Bug Description

git-ubuntu 0.7.4+git82.3512465 429 edge canonical classic

Got this backtrace while running the lint tool on the branch from https://code.launchpad.net/~paelzer/ubuntu/+source/exim4/+git/exim4/+merge/347133:

(cosmic-merge-4.91-4)andreas@nsnx:~/git/packages/exim4$ git ubuntu lint --target-branch pkg/debian/sid --lint-namespace lp999999
E: Expected pkg/import/4.90.1-1ubuntu1 (a8711eb200f2b051edea9a1d666999cf485daa21) is not the same tree as lp999999/reconstruct/4.90.1-1ubuntu1 (ee0d0c2e1ad0930068c76184b9560415031b15f5)
Traceback (most recent call last):
  File "/snap/git-ubuntu/429/bin/git-ubuntu", line 11, in <module>
    load_entry_point('gitubuntu==0.7.4', 'console_scripts', 'git-ubuntu')()
  File "/snap/git-ubuntu/429/lib/python3.6/site-packages/gitubuntu/__main__.py", line 243, in main
    sys.exit(args.func(args))
  File "/snap/git-ubuntu/429/lib/python3.6/site-packages/gitubuntu/lint.py", line 213, in cli_main
    verbose=args.verbose,
  File "/snap/git-ubuntu/429/lib/python3.6/site-packages/gitubuntu/lint.py", line 776, in do_lint
    'pkg/debian/sid',
  File "/snap/git-ubuntu/429/lib/python3.6/site-packages/gitubuntu/lint.py", line 572, in do_merge_lint
    diff = repo.raw_repo.diff(logical_tag, deconstruct_tag)
UnboundLocalError: local variable 'deconstruct_tag' referenced before assignment

Tags: lint

Related branches

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

I can confirm hitting the same error this morning.

Changed in usd-importer:
status: New → Confirmed
tags: added: lint
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Tagging as lint.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.