comparison mercurial/localrepo.py @ 7435:5e13df32fb74

bundlerepo doesn't really have a dirstate, throw AttributeError if requested
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Thu, 27 Nov 2008 16:07:17 +0100
parents 6163ef936a00
children 3342e6ada4b9
comparison
equal deleted inserted replaced
7434:cf7741aa1e96 7435:5e13df32fb74
980 if isinstance(node2, context.changectx): 980 if isinstance(node2, context.changectx):
981 ctx2 = node2 981 ctx2 = node2
982 else: 982 else:
983 ctx2 = self[node2] 983 ctx2 = self[node2]
984 984
985 working = ctx2 == self[None] 985 working = ctx2.rev() is None
986 parentworking = working and ctx1 == self['.'] 986 parentworking = working and ctx1 == self['.']
987 match = match or match_.always(self.root, self.getcwd()) 987 match = match or match_.always(self.root, self.getcwd())
988 listignored, listclean, listunknown = ignored, clean, unknown 988 listignored, listclean, listunknown = ignored, clean, unknown
989 989
990 # load earliest manifest first for caching reasons 990 # load earliest manifest first for caching reasons