Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

quickop: accept non-exact matches of CI when deleting

Changeset b3c3b91cb089

Parent eb78193ced0d

by Steve Borho

Changes to one file · Browse files at b3c3b91cb089 Showing diff from parent eb78193ced0d Diff from another changeset...

 
126
127
128
 
129
130
131
 
143
144
145
146
 
147
148
149
150
 
151
152
153
 
126
127
128
129
130
131
132
 
144
145
146
 
147
148
149
150
 
151
152
153
154
@@ -126,6 +126,7 @@
  pass     (modified, added, removed, deleted, unknown, ignored, clean) = status + deleting = command in ('remove', 'rm')   if 'M' in filetypes:   for f in modified:   fm.append([True, f, hglib.toutf(f), _('modified')]) @@ -143,11 +144,11 @@
  fm.append([True, f, hglib.toutf(f), _('unknown')])   if 'I' in filetypes:   for f in ignored: - if f in pats: + if deleting or f in pats:   fm.append([True, f, hglib.toutf(f), _('ignored')])   if 'C' in filetypes:   for f in clean: - if f in pats: + if deleting or f in pats:   fm.append([True, f, hglib.toutf(f), _('clean')])     if not len(fm):