Mercurial > hg
comparison mercurial/sslutil.py @ 19080:5e4491c114b2 stable
check-code: add a rule against a GNU sed-ism
BSD sed requires the 'i' command to be followed with a backslash and a
newline, like so:
$ sed -e '/^@/i\
> other'
We've encountered this problem before, e.g. in test-mq.t (900767dfa80d).
This change adds a check-code rule and fixes two instances of the
problem in test-record.t.
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Mon, 22 Apr 2013 16:33:28 -0500 |
parents | 2d7fac049d3a |
children | 074bd02352c0 |
comparison
equal
deleted
inserted
replaced
19079:1e433b5457fd | 19080:5e4491c114b2 |
---|