author | Mike Edgar <adgar@google.com> |
Fri, 22 Aug 2014 16:40:34 -0400 | |
changeset 22280 | 7eef5a87ce3f |
parent 22279 | 0e38f2fbe91e |
child 22282 | 4092d12ba18a |
hgext/histedit.py | file | annotate | diff | comparison | revisions |
--- a/hgext/histedit.py Fri Aug 22 16:37:55 2014 -0400 +++ b/hgext/histedit.py Fri Aug 22 16:40:34 2014 -0400 @@ -610,7 +610,7 @@ rules = f.read() f.close() rules = [l for l in (r.strip() for r in rules.splitlines()) - if l and not l[0] == '#'] + if l and not l.startswith('#')] rules = verifyrules(rules, repo, ctxs) parentctx = repo[root].parents()[0]