annotate tests/test-pull-http.out @ 9827:4fe9ca519637

mdiff: fix diff -b/B/w on mixed whitespace hunks (issue127) Previous code was computing hunks then checking if these hunks could be ignored when taking whitespace/blank-lines options in accounts. This approach is simple but fails with hunks containing both whitespace and non-whitespace changes, the whole hunk is emitted while it can be mostly made of whitespace. The new version normalize the whitespaces before hunk generation, and test for blank-lines afterwards.
author Patrick Mezard <pmezard@gmail.com>
date Wed, 11 Nov 2009 18:31:42 +0100
parents a3d73b3e1f8a
children ace3cf2bc991
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6778
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
1 adding a
9611
a3d73b3e1f8a hg.clone: report branch name on update
Adrian Buehlmann <adrian@cadifra.com>
parents: 7563
diff changeset
2 updating to branch default
6778
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
3 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
4 % expect error, cloning not allowed
7563
bbcd2dea19fe hgweb: send HTTP unauthorized error when denying pull
Mark Edgington <edgimar@gmail.com>
parents: 6778
diff changeset
5 abort: authorization failed
6778
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
6 requesting all changes
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
7 % serve errors
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
8 % expect error, pulling not allowed
7563
bbcd2dea19fe hgweb: send HTTP unauthorized error when denying pull
Mark Edgington <edgimar@gmail.com>
parents: 6778
diff changeset
9 abort: authorization failed
6778
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
10 pulling from http://localhost/
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
11 searching for changes
959efdac4a9c tests: add some tests for web.allowpull configurations
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
diff changeset
12 % serve errors