This fixes 'bzr mv' and 'bzr rename' for Git.
Okay, moves seem reasonable to me. The logic is not all correct, but we'll need to do another pass anyway to deal with filesystem mapping issues.
16 # for cicp file-systems.
43 private to external API users.
47 - """Like get_canonical_inventory_path() but works on multiple items.
49 - :param paths: A sequence of paths relative to the root of the tree.
58 - """Returns the first inventory item that case-insensitively matches path.
62 - defined which is returned.
69 - use get_canonical_inventory_paths() to avoid O(N) behaviour.
71 - :param path: A paths relative to the root of the tree.
73 - that match case insensitively.
80 - # First, if the path as specified exists exactly, just use it.
122 - # got to the end of this directory and no entries matched.
123 - # Return what matched so far, plus the rest as specified.
127 - # all done.
134 """If our tree isn't case sensitive, return the canonical path"""
158 + """Look up canonical paths for multiple items.
160 + :param paths: A sequence of paths relative to the root of the tree.
181 """Base class for working trees that live in bzr meta directories."""
200 - # make a tree used by all the 'canonical' tests below.
221 - # note: not committed.
228 - # check it works when asked for just the directory portion.
301 +# (at your option) any later version.
306 +# GNU General Public License for more details.
312 +"""Tests for interface conformance of canonical paths of trees."""
329 + # make a tree used by all the 'canonical' tests below.
358 + # check it works when asked for just the directory portion.
416 + """Find the canonical path of an item, ignoring case.
452 + # got to the end of this directory and no entries matched.
453 + # Return what matched so far, plus the rest as specified.
462 """Return the ShelfManager for this WorkingTree."""
466 + """Like get_canonical_path() but works on multiple items.
468 + :param paths: A sequence of paths relative to the root of the tree.
478 + """Returns the first item in the tree that matches a path.
480 + This is meant to allow case-insensitive path lookups on e.g.
485 + it is implementation defined which is returned.
492 + use get_canonical_paths() to avoid O(N) behaviour.
494 + :param path: A paths relative to the root of the tree.
496 + that match case insensitively.
503 """Registry for working tree formats."""