Merge lp:~vila/bzr/494221-unversion-children into lp:bzr/2.0
Proposed by
Vincent Ladeuil
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Vincent Ladeuil | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 4752 | ||||
Proposed branch: | lp:~vila/bzr/494221-unversion-children | ||||
Merge into: | lp:bzr/2.0 | ||||
Diff against target: |
67 lines (+27/-3) 3 files modified
NEWS (+3/-0) bzrlib/tests/test_workingtree_4.py (+21/-1) bzrlib/workingtree_4.py (+3/-2) |
||||
To merge this branch: | bzr merge lp:~vila/bzr/494221-unversion-children | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John A Meinel | Needs Fixing | ||
Review via email: mp+29782@code.launchpad.net |
Commit message
Ensure we don't try to remove entries twice from the in-memory inventory.
Description of the change
This fixes bug #494221, with a test reproducing it.
While working on it with John, we encounter several bugs that made it harder to implement a better fix.
So this fix is minimal and targeted at 2.0 but better fixes will be targeted at trunk.
The issue at hand is that the in-memory inventory needs to be updated if it has already been loaded which occurs more often on windows than on linux.
We probably fixed the original bug on linux long ago so this fix should mostly concern windows.
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Vincent Ladeuil wrote: /bugs.launchpad .net/bugs/ 494221
> Vincent Ladeuil has proposed merging lp:~vila/bzr/494221-unversion-children into lp:bzr/2.0.
>
> Requested reviews:
> bzr-core (bzr-core)
> Related bugs:
> #494221 KeyError in remove_recursive_id during commit
> https:/
>
>
> This fixes bug #494221, with a test reproducing it.
>
> While working on it with John, we encounter several bugs that made it harder to implement a better fix.
>
> So this fix is minimal and targeted at 2.0 but better fixes will be targeted at trunk.
>
> The issue at hand is that the in-memory inventory needs to be updated if it has already been loaded which occurs more often on windows than on linux.
>
> We probably fixed the original bug on linux long ago so this fix should mostly concern windows.
>
review: needsfixing
Small tweak. The test should check that the file-ids are actually
removed from the inventory. Otherwise good to merge.
John
=:->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
8P9wACgkQJdeBCY SNAAP7wACfahJWO qloMEIsQUo+ CwwKWcgR eUPWxmvoteiWdle 0DxMpS
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkw
fHkAniiNRT/
=wWQQ
-----END PGP SIGNATURE-----