annotate tests/test-static-http.out @ 1564:34579a67fa71

Re: [PATCH 2 of 3] remove walk warning about nonexistent files On 11/15/05, Robin Farine <robin.farine@terminus.org> wrote: > # HG changeset patch > # User Robin Farine <robin.farine@terminus.org> > # Node ID ce0a3cc309a8d1e81278ec01a3c61fbb99c691f4 > # Parent feb77e0951e74d75c213e8471f107fdcc124c876 > remove walk warning about nonexistent files > > diff -r feb77e0951e7 -r ce0a3cc309a8 mercurial/dirstate.py > --- a/mercurial/dirstate.py Tue Nov 15 08:42:45 2005 +0100 > +++ b/mercurial/dirstate.py Tue Nov 15 08:59:50 2005 +0100 > @@ -336,9 +336,6 @@ > try: > st = os.lstat(f) > except OSError, inst: > - if ff not in dc: self.ui.warn('%s: %s\n' % ( > - util.pathto(self.getcwd(), ff), > - inst.strerror)) > continue > if stat.S_ISDIR(st.st_mode): > cmp1 = (lambda x, y: cmp(x[1], y[1])) this break some tests, a better fix would be to check if ff can be a directory prefix from files in dc you can try the attached patch. Benoit
author Benoit Boissinot <bboissin@gmail.com>
date Thu, 01 Dec 2005 10:48:29 -0600
parents e89033eb90a5
children 0b3f4be5c5bf 7d83a351a936
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1347
e89033eb90a5 Fix up static-http test
mpm@selenic.com
parents: 1323
diff changeset
1 abort: <urlopen error (111, 'Connection refused')>
1323
60200b3fc839 Fix old-http test when no server exists.
Bryan O'Sullivan <bos@serpentine.com>
parents: 1111
diff changeset
2 255
60200b3fc839 Fix old-http test when no server exists.
Bryan O'Sullivan <bos@serpentine.com>
parents: 1111
diff changeset
3 ls: copy: No such file or directory
1111
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
4 changeset: 0:61c9426e69fe
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
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
7 date: Thu Jan 1 00:00:00 1970 +0000
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
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
15 checking changesets
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
16 checking manifests
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
17 crosschecking files in changesets and manifests
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
18 checking files
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
19 1 files, 1 changesets, 1 total revisions
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
20 foo
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
21 pulling from old-http://localhost:20059/remote
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
22 searching for changes
addcb77fe500 Add an old-http test case
mpm@selenic.com
parents:
diff changeset
23 no changes found