##// END OF EJS Templates
py3: slice over bytes to prevent getting ascii values...
Pulkit Goyal -
r38389:c7eb9bce default
parent child Browse files
Show More
@@ -523,7 +523,8 b' def browserevs(ui, repo, nodes, opts):'
523 displayer.show(repo[node])
523 displayer.show(repo[node])
524 action = None
524 action = None
525 while not action:
525 while not action:
526 action = 'ynmpcq?'[ui.promptchoice(prompt)]
526 choice = ui.promptchoice(prompt)
527 action = 'ynmpcq?'[choice:choice + 1]
527 if action == '?':
528 if action == '?':
528 for c, t in ui.extractchoices(prompt)[1]:
529 for c, t in ui.extractchoices(prompt)[1]:
529 ui.write('%s: %s\n' % (c, t))
530 ui.write('%s: %s\n' % (c, t))
@@ -1695,7 +1695,7 b' class gitsubrepo(abstractsubrepo):'
1695 tab = line.find('\t')
1695 tab = line.find('\t')
1696 if tab == -1:
1696 if tab == -1:
1697 continue
1697 continue
1698 status, f = line[tab - 1], line[tab + 1:]
1698 status, f = line[tab - 1:tab], line[tab + 1:]
1699 if status == 'M':
1699 if status == 'M':
1700 modified.append(f)
1700 modified.append(f)
1701 elif status == 'A':
1701 elif status == 'A':
General Comments 0
You need to be logged in to leave comments. Login now