Changeset 7eb6164ccfef…
Parent ef7309992b27…
by
Changes to one file · Browse files at 7eb6164ccfef Showing diff from parent ef7309992b27 Diff from another changeset...
@@ -46,20 +46,11 @@ dirstatus[dirname(fn)] = 'm'
for fn in removed:
dirstatus[dirname(fn)] = 'r'
- nmodified, nadded, nremoved = 0, 0, 0
f = open(cachefilepath(repo), 'wb')
for dn in sorted(dirstatus):
s = dirstatus[dn]
- if (s == 'm'):
- nmodified += 1
- elif (s == 'a'):
- nadded += 1
- elif (s == 'r'):
- nremoved +=1
f.write(dirstatus[dn] + dn + '\n')
f.close()
- ui.status(_("updated cached directory status: "
- "%i modified, %i added, %i removed\n") % (nmodified, nadded, nremoved))
cmdtable = {
'thgstatus':
|
Loading...