variable referenced before assignment; breaks fast-export
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Breezy |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
psnap$ brz fast-export --plain . | git fast-import
22:41:06 Calculating the revisions to include ...
22:41:06 Starting export of 645 revisions ...
brz: ERROR: UnboundLocalError: local variable 'path' referenced before assignment
Traceback (most recent call last):
File "/usr/local/
return the_callable(*args, **kwargs)
File "/usr/local/
ret = run(*run_argv)
File "/usr/local/
return self.run(
File "/usr/local/
return class_run(*args, **kwargs)
File "/usr/local/
return exporter.run()
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
return self.to_
File "/usr/local/
[b'\n' + bytes(c) for c in self.iter_files()])
File "/usr/local/
[b'\n' + bytes(c) for c in self.iter_files()])
File "/usr/local/
path, renamed, tree_new.
UnboundLocalError: local variable 'path' referenced before assignment
Related branches
- Jelmer Vernooij: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedbreezy/plugins/fastimport/exporter.py (+1/-1)
Changed in brz: | |
status: | Triaged → Fix Committed |
milestone: | none → 3.2.1 |
Changed in brz: | |
status: | Fix Committed → Fix Released |
Same issue exists with lp:brz-3.2.1 branch.