Merge lp:~mbp/bzr/368931-rename-case-2.0 into lp:bzr/2.0
| Status: | Merged |
|---|---|
| Merged at revision: | not available |
| Proposed branch: | lp:~mbp/bzr/368931-rename-case-2.0 |
| Merge into: | lp:bzr/2.0 |
| Diff against target: |
147 lines (+67/-6) 4 files modified
NEWS (+3/-0) bzrlib/tests/__init__.py (+18/-1) bzrlib/tests/per_tree/test_inv.py (+25/-2) bzrlib/tree.py (+21/-3) |
| To merge this branch: | bzr merge lp:~mbp/bzr/368931-rename-case-2.0 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| John A Meinel | 2010-02-11 | Needs Fixing on 2010-02-11 | |
| bzr-core | 2010-02-12 | Pending | |
|
Review via email:
|
|||
| Martin Pool (mbp) wrote : | # |
| John A Meinel (jameinel) wrote : | # |
32 + self.build_
This is not valid on Windows.
| John A Meinel (jameinel) wrote : | # |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Pool wrote:
> Martin Pool has proposed merging lp:~mbp/bzr/368931-rename-case-2.0 into lp:bzr/2.0.
>
> Requested reviews:
> bzr-core (bzr-core)
> Related bugs:
> #368931 Rename may fail when file and directory have the same name differing by case
> https:/
>
>
> This finishes off Chris Jones's patch in https:/
>
> This function could be faster but I'm not sure if it's actually a hot spot.
>
> This finishes our last high-priority bug with a patch! There are still 34 more with lower importance.
>
I agree with your TODO and NOTE comments.
Also using "iter_children()" throws out all sorts of information. It
returns only file_ids, when it already looked up everything as a
InventoryEntry. Also, falling back to 'id2path' is wasteful given that
we already have the containing directory, and all we need is the child
name. (Which is on the IE we just through away from iter_children.)
I would also guess that there is still a bug if "Tree" is versioned but
"tree" is not (or vice versa).
It sort of depends if this is only supposed to work on versioned paths,
or work on both versioned and unversioned files.
(If tree is versioned but Tree is not, and you do "bzr status Tree",
what should it match?)
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkt
uxgAn1rpE4/
=PvyE
-----END PGP SIGNATURE-----
- 4732. By Martin Pool on 2010-02-12
-
doc
- 4733. By Martin Pool on 2010-02-12
-
Add case_sensitive_
filesystem_ feature - 4734. By Martin Pool on 2010-02-12
-
test_canonical_
tree_name_ mismatch needs a case-sensitive filesystem
| Martin Pool (mbp) wrote : | # |
This makes it conditional on having a case-insensitive filesystem.
We can't get away from that because some of the tree classes we want to test must exist on disk.
I tested under winepython and it works.
- 4735. By Martin Pool on 2010-02-12
-
feature moved back to bzrlib.tests with its friends
- 4736. By Martin Pool on 2010-02-12
-
Actually test the right tree class in per_tree
- 4737. By Martin Pool on 2010-02-12
-
cleanup unnecessary import

This finishes off Chris Jones's patch in https:/ /bugs.edge. launchpad. net/bzr/ +bug/368931 by adding a test.
This function could be faster but I'm not sure if it's actually a hot spot.
This finishes our last high-priority bug with a patch! There are still 34 more with lower importance.