empty working directory for bzr repo not repopulated by codetree
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
codetree |
Confirmed
|
Medium
|
Unassigned |
Bug Description
We found this issue when debugging a Mojo spec run for which a bzr repo pulled by a collect phase was mysteriously empty (the dir is empty but it *is* a bzr repo since it contains .bzr).
To reproduce use this collect file:
dpkg-offline lp:dpkg-offline
$ codetree collect
$ cd dpkg-offline
$ rm -rf COPYING dpkg_offline dummyfile old_dpkg_offline/ README scripts/ TUTORIAL.rst Vagrantfile
# confirm the directory is empty save for .bzr
$ cd ..
$ codetree collect
The dpkg-offline working files are not repopulated. Should they be?
$ apt-cache policy python-codetree
python-codetree:
Installed: 0.1.5-5
Candidate: 0.1.5-5
Version table:
*** 0.1.5-5 500
500 http://
500 http://
100 /var/lib/
If a directory is empty (apart from .bzr) it should be repopulated.