Mercurial > public > mercurial-scm > hg
diff tests/test-record.t @ 18266:09a2b6741695
record: use patch.diffopts to account for user diffopts
This allows user defined diff options (e.g. showfunc) to be accounted for
when using record. A test has been updated accordingly.
author | Denis Laxalde <denis@laxalde.org> |
---|---|
date | Tue, 08 Jan 2013 21:16:39 +0100 |
parents | 3de04c07966a |
children | e4ae397595e8 |
line wrap: on
line diff
--- a/tests/test-record.t Tue Jan 08 16:26:52 2013 -0800 +++ b/tests/test-record.t Tue Jan 08 21:16:39 2013 +0100 @@ -255,18 +255,18 @@ [255] -Modify end of plain file +Modify end of plain file, also test that diffopts are accounted for $ HGUSER="test" $ export HGUSER - $ hg record -d '8 0' -m end plain <<EOF + $ hg record --config diff.showfunc=true -d '8 0' -m end plain <<EOF > y > y > EOF diff --git a/plain b/plain 1 hunks, 1 lines changed examine changes to 'plain'? [Ynesfdaq?] - @@ -8,3 +8,4 @@ + @@ -8,3 +8,4 @@ 7 8 9 10