Changeset 0b7dc645d0d4…
Parent 93c7082adfe1…
by
Changes to one file · Browse files at 0b7dc645d0d4 Showing diff from parent 93c7082adfe1 Diff from another changeset...
@@ -89,14 +89,15 @@
def run(self):
try:
- wctx = repo[None]
- wctx.status(ignored=True, unknown=True)
+ repo.bfstatus = True
+ stat = repo.status(ignored=True, unknown=True)
+ repo.bfstatus = False
trashcan = repo.join('Trashcan')
if os.path.isdir(trashcan):
trash = os.listdir(trashcan)
else:
trash = []
- self.files = wctx.unknown(), wctx.ignored(), trash
+ self.files = stat[4], stat[5], trash
except Exception, e:
self.error = str(e)
@@ -205,8 +206,10 @@ self.showMessage.emit('')
match = hglib.matchall(repo)
match.dir = directories.append
+ repo.bfstatus = True
status = repo.status(match=match, ignored=opts['ignored'],
unknown=opts['unknown'], clean=False)
+ repo.bfstatus = False
files = status[4] + status[5]
def remove(remove_func, name):
|
Loading...