Branch.cleanup() re-creates the checkout
Bug #397478 reported by
John A Meinel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Tarmac |
Fix Released
|
Critical
|
Paul Hummer |
Bug Description
The Branch.cleanup() function is implemented as:
if self.has_tree:
self.
However, _set_up_
if os.path.
self.tree = self.branch.
In other words, Branch.cleanup() *will* delete the existing target, but then it will re download the whole thing and re-create it.
See also bug #397476, fixing that would at least make this less expensive, even if it is still wrong :)
Changed in tarmac: | |
assignee: | nobody → Paul Hummer (rockstar) |
importance: | Undecided → Critical |
milestone: | none → tarmac-0.2 |
status: | New → Triaged |
Changed in tarmac: | |
status: | Triaged → In Progress |
Changed in tarmac: | |
status: | In Progress → Fix Committed |
Changed in tarmac: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.