##// END OF EJS Templates
histedit: use str.startswith to check for comments in action list
Mike Edgar -
r22280:7eef5a87 default
parent child Browse files
Show More
@@ -610,7 +610,7 b' def _histedit(ui, repo, *freeargs, **opt'
610 rules = f.read()
610 rules = f.read()
611 f.close()
611 f.close()
612 rules = [l for l in (r.strip() for r in rules.splitlines())
612 rules = [l for l in (r.strip() for r in rules.splitlines())
613 if l and not l[0] == '#']
613 if l and not l.startswith('#')]
614 rules = verifyrules(rules, repo, ctxs)
614 rules = verifyrules(rules, repo, ctxs)
615
615
616 parentctx = repo[root].parents()[0]
616 parentctx = repo[root].parents()[0]
General Comments 0
You need to be logged in to leave comments. Login now