Merge lp://staging/~leonidborisenko/bzr-hg/hacking into lp://staging/bzr-hg
Proposed by
Leonid Borisenko
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 327 | ||||
Proposed branch: | lp://staging/~leonidborisenko/bzr-hg/hacking | ||||
Merge into: | lp://staging/bzr-hg | ||||
Diff against target: |
101 lines (+64/-11) 3 files modified
fetch.py (+14/-11) tests/__init__.py (+1/-0) tests/test_fetch.py (+49/-0) |
||||
To merge this branch: | bzr merge lp://staging/~leonidborisenko/bzr-hg/hacking | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij (community) | Approve | ||
Review via email:
|
Description of the change
Fix recursive removing of parent empty directories
Fact of removing empty directory (in converting of manifest to inventory delta) could reveal that parent directory is now empty too. This consequence is taken in account in existing code and parent directory is added to maybe_empty_dirs dictionary. But reiterating over modified dictionary wasn't implemented, which caused bug with directories removed from Mercurial repository but existed in Bazaar mirror.
To post a comment you must log in.
Hi Leonid,
Thanks for the patch! Any chance you can also add a test that reproduces
the issue and is fixed by your patch?
Cheers,
Jelmer
On Sat, 2010-12-18 at 19:36 +0000, Leonid Borisenko wrote:
> Leonid Borisenko has proposed merging lp:~leonidborisenko/bzr-hg/fix-removing-empty-dirs into lp:bzr-hg.
>
> Requested reviews:
> bzr-hg developers (bzr-hg)