[MERGE][0.16][bug #111127] Properly handle 'a/' and 'a-b' directories
Martin Pool
mbp at sourcefrog.net
Tue May 1 13:59:38 BST 2007
On 5/1/07, John Arbash Meinel <john at arbash-meinel.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> It turns out that our path iterator code has some problems when we have
> paths with '-' in them. This is because "a/b" sorts after "a-X", but
> ('a', 'b') sorts before ('a-X',).
>
> And since dirstate is maintained in the former sorting, we have to make
> sure our iteration takes that into account.
+1
That InterDirStateTree._iter_changes is getting pretty horrifically
big though...
--
Martin
More information about the bazaar
mailing list