Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-pull.out @ 4095:6fa7a2d0fc2e
hgweb: catch util.Abort raised by addchangegroup
Right now, if a pretxnchangegroup hook fails, we send some HTML
error message to the client and the transaction is not rolled back
(issue499).
Catching util.Abort allows us to send a decent message to the client
and for some reason makes the rollback complete.
This patch is not perfect since it doesn't fix the reason why the
transaction wasn't rolled back (maybe some circular references?).
Also, the transaction is aborted only after we've sent the response
back to the client and the "transaction aborted" message ends up in
the logs of the web server.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Fri, 16 Feb 2007 05:10:43 -0200 |
parents | 9d1c3529ebbc |
children | 2d545b98a7bc |
rev | line source |
---|---|
767
61ed30e82b27
Update tests to match new addremove chattiness.
Bryan O'Sullivan <bos@serpentine.com>
parents:
642
diff
changeset
|
1 adding foo |
336 | 2 checking changesets |
3 checking manifests | |
4 crosschecking files in changesets and manifests | |
5 checking files | |
6 1 files, 1 changesets, 1 total revisions | |
7 requesting all changes | |
8 adding changesets | |
9 adding manifests | |
775 | 10 adding file changes |
11 added 1 changesets with 1 changes to 1 files | |
2175
b2ae81a7df29
Make hg update more verbose by default (issue12)
Thomas Arendsen Hein <thomas@intevation.de>
parents:
2152
diff
changeset
|
12 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
336 | 13 checking changesets |
14 checking manifests | |
15 crosschecking files in changesets and manifests | |
16 checking files | |
17 1 files, 1 changesets, 1 total revisions | |
2175
b2ae81a7df29
Make hg update more verbose by default (issue12)
Thomas Arendsen Hein <thomas@intevation.de>
parents:
2152
diff
changeset
|
18 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
336 | 19 foo |
20 2ed2a3912a0b24502043eae84ee4b279c18b90dd 644 foo | |
522
2f1de824798a
Fix empty pull bug that appeared this morning
mpm@selenic.com
parents:
350
diff
changeset
|
21 pulling from http://localhost:20059/ |
2f1de824798a
Fix empty pull bug that appeared this morning
mpm@selenic.com
parents:
350
diff
changeset
|
22 searching for changes |
2f1de824798a
Fix empty pull bug that appeared this morning
mpm@selenic.com
parents:
350
diff
changeset
|
23 no changes found |