Mercurial > public > mercurial-scm > hg
diff 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 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Nov 27 16:07:13 2008 +0100 +++ b/mercurial/localrepo.py Thu Nov 27 16:07:17 2008 +0100 @@ -982,7 +982,7 @@ else: ctx2 = self[node2] - working = ctx2 == self[None] + working = ctx2.rev() is None parentworking = working and ctx1 == self['.'] match = match or match_.always(self.root, self.getcwd()) listignored, listclean, listunknown = ignored, clean, unknown