Show More
@@ -2138,13 +2138,14 b' def forget(ui, repo, match, prefix, uipa' | |||||
2138 | '$$ Include &all remaining files' |
|
2138 | '$$ Include &all remaining files' | |
2139 | '$$ &? (display help)') |
|
2139 | '$$ &? (display help)') | |
2140 | for filename in forget[:]: |
|
2140 | for filename in forget[:]: | |
2141 |
r = ui.promptchoice(_('forget %s %s') % |
|
2141 | r = ui.promptchoice(_('forget %s %s') % | |
|
2142 | (uipathfn(filename), responses)) | |||
2142 | if r == 4: # ? |
|
2143 | if r == 4: # ? | |
2143 | while r == 4: |
|
2144 | while r == 4: | |
2144 | for c, t in ui.extractchoices(responses)[1]: |
|
2145 | for c, t in ui.extractchoices(responses)[1]: | |
2145 | ui.write('%s - %s\n' % (c, encoding.lower(t))) |
|
2146 | ui.write('%s - %s\n' % (c, encoding.lower(t))) | |
2146 |
r = ui.promptchoice(_('forget %s %s') % |
|
2147 | r = ui.promptchoice(_('forget %s %s') % | |
2147 |
|
|
2148 | (uipathfn(filename), responses)) | |
2148 | if r == 0: # yes |
|
2149 | if r == 0: # yes | |
2149 | continue |
|
2150 | continue | |
2150 | elif r == 1: # no |
|
2151 | elif r == 1: # no |
General Comments 0
You need to be logged in to leave comments.
Login now