[MERGE] Optimize single-file diff/revert/etc

John Arbash Meinel john at arbash-meinel.com
Thu Jan 11 16:28:37 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aaron Bentley wrote:
> Hi all,
> 
> This patch updates Tree._iter_changes so that it performs much faster
> when specific files are specified.
> 
> It tweaks iter_entries_by_dir to avoid walking portions of the tree that
> are not ancestors of specified files.  It does not return entries for
> unspecified files.  This is more complicated than just returning the
> specified entries, but it ensures that ordering requirements are met.
> 
> For the case where a single file is specified, there can be no ordering
> requirements, so that entry is simply returned.
> 
> Aaron

I'm very interested, but you didn't send a patch.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFpmW1JdeBCYSNAAMRAp+sAKCV9zMryMWG3dOvY54s9Yo9j7YrVwCff6Wl
SYYohOR9j0P2n36UFNwZPDE=
=gah4
-----END PGP SIGNATURE-----



More information about the bazaar mailing list