diff mercurial/hg.py @ 312:09375250eb31

Optimize diff and status in subdirectories -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Optimize diff and status in subdirectories This walks the tree from the subdirectory down. Based on a patch by Arun Sharma manifest hash: 3a8545369b4eb6911b9d0fcdd8e4dc77784fa3d8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCrF6/ywK+sNU5EO8RAosUAKC0KWcMfsLErEInDk1X1vpM54HFEgCfUwcN gXhaAviQZJ8h0ssl3BMmMfI= =KnRD -----END PGP SIGNATURE-----
author mpm@selenic.com
date Sun, 12 Jun 2005 08:11:43 -0800
parents 3b17056b72dc
children e75ea4662d81
line wrap: on
line diff
--- a/mercurial/hg.py	Sat Jun 11 10:10:06 2005 -0800
+++ b/mercurial/hg.py	Sun Jun 12 08:11:43 2005 -0800
@@ -551,7 +551,7 @@
             t2 = self.file(fn).revision(mf[fn])
             return cmp(t1, t2)
 
-        for dir, subdirs, files in os.walk(self.root):
+        for dir, subdirs, files in os.walk(path):
             d = dir[len(self.root)+1:]
             if ".hg" in subdirs: subdirs.remove(".hg")