Comment 0 for bug 1775041

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

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