Changeset f7a729bcb191…
Parent 41e53eb631e3…
by
Changes to 3 files · Browse files at f7a729bcb191 Showing diff from parent 41e53eb631e3 Diff from another changeset...
@@ -98,8 +98,10 @@ def run(self):
try:
repo.bfstatus = True
+ repo.lfstatus = True
stat = repo.status(ignored=True, unknown=True)
repo.bfstatus = False
+ repo.lfstatus = False
trashcan = repo.join('Trashcan')
if os.path.isdir(trashcan):
trash = os.listdir(trashcan)
@@ -215,9 +217,11 @@ match = hglib.matchall(repo)
match.dir = directories.append
repo.bfstatus = True
+ repo.lfstatus = True
status = repo.status(match=match, ignored=opts['ignored'],
unknown=opts['unknown'], clean=False)
repo.bfstatus = False
+ repo.lfstatus = False
files = status[4] + status[5]
def remove(remove_func, name):
|
@@ -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...