Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dirstate.py @ 1527:c13fce7167c2
don't print anything about file of unsupported type unless
the file was specified on the command line
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 11 Nov 2005 15:33:08 -0800 |
parents | 755e7ac351ef |
children | a208e86bbc34 |
line wrap: on
line diff
--- a/mercurial/dirstate.py Fri Nov 11 15:32:28 2005 -0800 +++ b/mercurial/dirstate.py Fri Nov 11 15:33:08 2005 -0800 @@ -241,7 +241,7 @@ bs += 1 return ret - def supported_type(self, f, st, verbose=True): + def supported_type(self, f, st, verbose=False): if stat.S_ISREG(st.st_mode): return True if verbose: @@ -352,7 +352,7 @@ continue self.blockignore = True if statmatch(ff, st): - if self.supported_type(ff, st): + if self.supported_type(ff, st, verbose=True): yield 'f', ff, st elif ff in dc: yield 'm', ff, st