##// END OF EJS Templates
repair: fix an `isinstance(nodelist, str)` check for py3...
Matt Harbison -
r44179:8accf5fa stable
parent child Browse files
Show More
@@ -130,7 +130,7 b' def strip(ui, repo, nodelist, backup=Tru'
130 cl = repo.changelog
130 cl = repo.changelog
131
131
132 # TODO handle undo of merge sets
132 # TODO handle undo of merge sets
133 if isinstance(nodelist, str):
133 if isinstance(nodelist, bytes):
134 nodelist = [nodelist]
134 nodelist = [nodelist]
135 striplist = [cl.rev(node) for node in nodelist]
135 striplist = [cl.rev(node) for node in nodelist]
136 striprev = min(striplist)
136 striprev = min(striplist)
General Comments 0
You need to be logged in to leave comments. Login now