Changeset 4dfdb0026af9…
Parent c08f68ca89ab…
by
Changes to 3 files · Browse files at 4dfdb0026af9 Showing diff from parent c08f68ca89ab Diff from another changeset...
@@ -435,8 +435,10 @@ precheckfn = lambda x: x < 4
m = hglib.match(self.repo[None], self.pats)
self.repo.bfstatus = True
+ self.repo.lfstatus = True
status = self.repo.status(match=m, **stopts)
self.repo.bfstatus = False
+ self.repo.lfstatus = False
# Record all matched files as initially checked
for i, stat in enumerate(StatusType.preferredOrder):
if stat == 'S':
@@ -449,14 +451,18 @@ self.patchecked = patchecked
elif self.pctx:
self.repo.bfstatus = True
+ self.repo.lfstatus = True
status = self.repo.status(node1=self.pctx.p1().node(), **stopts)
self.repo.bfstatus = False
+ self.repo.lfstatus = False
wctx = context.workingctx(self.repo, changes=status)
else:
wctx = self.repo[None]
self.repo.bfstatus = True
+ self.repo.lfstatus = True
wctx.status(**stopts)
self.repo.bfstatus = False
+ self.repo.lfstatus = False
self.wctx = wctx
wctx.dirtySubrepos = []
|
@@ -91,8 +91,10 @@
repo = hg.repository(ui, root) # a fresh repo object is needed
repo.bfstatus = True
+ repo.lfstatus = True
repostate = repo.status() # will update .hg/dirstate as a side effect
repo.bfstatus = False
+ self.lfstatus = False
modified, added, removed, deleted = repostate[:4]
dirstatus = {}
|
Loading...