mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
test-annotate: support debugruntest
Summary: `sed 's/3+/3-/'` treats `+` as a literal while the shinterp stdlib treats it as part of regex. Avoid the issue by using `s/3[+]/3-/` that work in both `sed` impelemntations. Reviewed By: DurhamG Differential Revision: D34840516 fbshipit-source-id: f20648afa76f7233cee40781bb1af2fd976bdbb0
This commit is contained in:
parent
5b26e0fb35
commit
75e8f40df3
@ -635,7 +635,7 @@ merge
|
||||
$ hg up 56fc739c091f342d6390b46cd18746150b93704d --quiet
|
||||
$ echo 7 >> baz
|
||||
$ hg ci -m 'one more line, out of line range'
|
||||
$ sed 's/3+/3-/' baz > baz.new
|
||||
$ sed 's/3[+]/3-/' baz > baz.new
|
||||
$ mv baz.new baz
|
||||
$ hg ci -m 'baz:3+->3-'
|
||||
$ hg log -T '{desc}\n' -r 'followlines(baz, 5:7)'
|
||||
|
Loading…
Reference in New Issue
Block a user