tests/test-static-http.out
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Thu, 04 Oct 2007 23:21:37 -0300
changeset 5378 8a2915f57dfc
parent 5314 598dae804a5f
child 5384 e3a0c092b4e2
permissions -rw-r--r--
convert: add a mode where mercurial_sink skips empty revisions. The getchanges function of some converter_source classes can return some false positives. I.e. they sometimes claim that a file "foo" was changed in some revision, even though its contents are still the same. convert_svn is particularly bad, but I think this can also happen with convert_cvs and, at least in theory, with mercurial_source. For regular conversions this is not really a problem - as long as getfile returns the right contents, we'll get a converted revision with the right contents. But when we use --filemap, this could lead to superfluous revisions being converted. Instead of fixing every converter_source, I decided to change mercurial_sink to work around this problem. When --filemap is used, we're interested only in revisions that touch some specific files. If a revision doesn't change any of these files, then we're not interested in it (at least for revisions with a single parent; merges are special). For mercurial_sink, we abuse this property and rollback a commit if the manifest text hasn't changed. This avoids duplicating the logic from localrepo.filecommit to detect unchanged files.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1935
d32c442571f2 Removed obsolete workaround for error message in tests/test-static-http.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1933
diff changeset
     1
abort: Connection refused
1323
60200b3fc839 Fix old-http test when no server exists.
Bryan O'Sullivan <bos@serpentine.com>
parents: 1111
diff changeset
     2
255
1962
2a676ad52c22 tests: more portability fix for the old systems
TK Soh <teekaysoh@yahoo.com>
parents: 1935
diff changeset
     3
copy: No such file or directory
1933
7544700fd931 Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1929
diff changeset
     4
changeset:   0:53e17d176ae6
1111
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
     5
tag:         tip
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
     6
user:        test
1933
7544700fd931 Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1929
diff changeset
     7
date:        Mon Jan 12 13:46:40 1970 +0000
1111
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
     8
summary:     test
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
     9
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
    10
requesting all changes
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
    11
adding changesets
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
    12
adding manifests
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
    13
adding file changes
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
    14
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
    15
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
1111
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
    16
checking changesets
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
    17
checking manifests
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
    18
crosschecking files in changesets and manifests
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
    19
checking files
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
    20
1 files, 1 changesets, 1 total revisions
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
    21
foo
2673
109a22f5434a hooks: add url to changegroup, incoming, prechangegroup, pretxnchangegroup hooks
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2431
diff changeset
    22
adding quux
4290
347766c2ff86 test-static-http: use printenv.py
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 2673
diff changeset
    23
changegroup hook: HG_NODE=34401e0e9971e9720b613d9089ffa9a6eefb3d2d HG_SOURCE=pull HG_URL=static-http://localhost:20059/remote 
2431
d90a9d7c7d4d replace old-http:// syntax by static-http:// and deprecate the redundant hg://
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 2175
diff changeset
    24
pulling from static-http://localhost:20059/remote
1111
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
    25
searching for changes
2673
109a22f5434a hooks: add url to changegroup, incoming, prechangegroup, pretxnchangegroup hooks
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2431
diff changeset
    26
adding changesets
109a22f5434a hooks: add url to changegroup, incoming, prechangegroup, pretxnchangegroup hooks
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2431
diff changeset
    27
adding manifests
109a22f5434a hooks: add url to changegroup, incoming, prechangegroup, pretxnchangegroup hooks
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2431
diff changeset
    28
adding file changes
109a22f5434a hooks: add url to changegroup, incoming, prechangegroup, pretxnchangegroup hooks
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2431
diff changeset
    29
added 1 changesets with 1 changes to 1 files
109a22f5434a hooks: add url to changegroup, incoming, prechangegroup, pretxnchangegroup hooks
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 2431
diff changeset
    30
(run 'hg update' to get a working copy)
5314
598dae804a5f Test static-http calls on '/' URI (issue 747)
Patrick Mezard <pmezard@gmail.com>
parents: 4290
diff changeset
    31
% test with "/" URI (issue 747)
598dae804a5f Test static-http calls on '/' URI (issue 747)
Patrick Mezard <pmezard@gmail.com>
parents: 4290
diff changeset
    32
requesting all changes
598dae804a5f Test static-http calls on '/' URI (issue 747)
Patrick Mezard <pmezard@gmail.com>
parents: 4290
diff changeset
    33
adding changesets
598dae804a5f Test static-http calls on '/' URI (issue 747)
Patrick Mezard <pmezard@gmail.com>
parents: 4290
diff changeset
    34
adding manifests
598dae804a5f Test static-http calls on '/' URI (issue 747)
Patrick Mezard <pmezard@gmail.com>
parents: 4290
diff changeset
    35
adding file changes
598dae804a5f Test static-http calls on '/' URI (issue 747)
Patrick Mezard <pmezard@gmail.com>
parents: 4290
diff changeset
    36
added 1 changesets with 1 changes to 1 files
598dae804a5f Test static-http calls on '/' URI (issue 747)
Patrick Mezard <pmezard@gmail.com>
parents: 4290
diff changeset
    37
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
598dae804a5f Test static-http calls on '/' URI (issue 747)
Patrick Mezard <pmezard@gmail.com>
parents: 4290
diff changeset
    38
checking changesets
598dae804a5f Test static-http calls on '/' URI (issue 747)
Patrick Mezard <pmezard@gmail.com>
parents: 4290
diff changeset
    39
checking manifests
598dae804a5f Test static-http calls on '/' URI (issue 747)
Patrick Mezard <pmezard@gmail.com>
parents: 4290
diff changeset
    40
crosschecking files in changesets and manifests
598dae804a5f Test static-http calls on '/' URI (issue 747)
Patrick Mezard <pmezard@gmail.com>
parents: 4290
diff changeset
    41
checking files
598dae804a5f Test static-http calls on '/' URI (issue 747)
Patrick Mezard <pmezard@gmail.com>
parents: 4290
diff changeset
    42
1 files, 1 changesets, 1 total revisions
598dae804a5f Test static-http calls on '/' URI (issue 747)
Patrick Mezard <pmezard@gmail.com>
parents: 4290
diff changeset
    43
a
598dae804a5f Test static-http calls on '/' URI (issue 747)
Patrick Mezard <pmezard@gmail.com>
parents: 4290
diff changeset
    44
default = static-http://localhost:20059/