##// END OF EJS Templates
forget: use relative paths for --interactive...
Martin von Zweigbergk -
r41810:05433ad5 default
parent child Browse files
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') % (filename, responses))
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') % (filename,
2147 r = ui.promptchoice(_('forget %s %s') %
2147 responses))
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