comparison mercurial/localrepo.py @ 4577:e7d4ed543de5

localrepo.status: only append stuff to the clean list if list_clean is true This is consistent with dirstate.status.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Wed, 13 Jun 2007 21:39:45 -0300
parents d092e962c4f8
children 7de7a80e7422
comparison
equal deleted inserted replaced
4576:eb3b7dd1e158 4577:e7d4ed543de5
949 nullid) 949 nullid)
950 for f in lookup: 950 for f in lookup:
951 if fcmp(f, getnode): 951 if fcmp(f, getnode):
952 modified.append(f) 952 modified.append(f)
953 else: 953 else:
954 clean.append(f) 954 if list_clean:
955 clean.append(f)
955 if not wlock and not mywlock: 956 if not wlock and not mywlock:
956 mywlock = True 957 mywlock = True
957 try: 958 try:
958 wlock = self.wlock(wait=0) 959 wlock = self.wlock(wait=0)
959 except lock.LockException: 960 except lock.LockException: