equal
deleted
inserted
replaced
25 $ echo $! >> $DAEMON_PIDS |
25 $ echo $! >> $DAEMON_PIDS |
26 $ mkdir remote |
26 $ mkdir remote |
27 $ cd remote |
27 $ cd remote |
28 $ hg init |
28 $ hg init |
29 $ echo foo > bar |
29 $ echo foo > bar |
30 $ hg add bar |
30 $ echo c2 > '.dotfile with spaces' |
|
31 $ hg add |
|
32 adding .dotfile with spaces |
|
33 adding bar |
31 $ hg commit -m"test" |
34 $ hg commit -m"test" |
32 $ hg tip |
35 $ hg tip |
33 changeset: 0:61c9426e69fe |
36 changeset: 0:02770d679fb8 |
34 tag: tip |
37 tag: tip |
35 user: test |
38 user: test |
36 date: Thu Jan 01 00:00:00 1970 +0000 |
39 date: Thu Jan 01 00:00:00 1970 +0000 |
37 summary: test |
40 summary: test |
38 |
41 |
40 $ hg clone static-http://localhost:$HGPORT/remote local |
43 $ hg clone static-http://localhost:$HGPORT/remote local |
41 requesting all changes |
44 requesting all changes |
42 adding changesets |
45 adding changesets |
43 adding manifests |
46 adding manifests |
44 adding file changes |
47 adding file changes |
45 added 1 changesets with 1 changes to 1 files |
48 added 1 changesets with 2 changes to 2 files |
46 updating to branch default |
49 updating to branch default |
47 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
50 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
48 $ cd local |
51 $ cd local |
49 $ hg verify |
52 $ hg verify |
50 checking changesets |
53 checking changesets |
51 checking manifests |
54 checking manifests |
52 crosschecking files in changesets and manifests |
55 crosschecking files in changesets and manifests |
53 checking files |
56 checking files |
54 1 files, 1 changesets, 1 total revisions |
57 2 files, 1 changesets, 2 total revisions |
55 $ cat bar |
58 $ cat bar |
56 foo |
59 foo |
57 $ cd ../remote |
60 $ cd ../remote |
58 $ echo baz > quux |
61 $ echo baz > quux |
59 $ hg commit -A -mtest2 |
62 $ hg commit -A -mtest2 |
64 $ rm .hg/*.cache |
67 $ rm .hg/*.cache |
65 $ cd ../local |
68 $ cd ../local |
66 $ echo '[hooks]' >> .hg/hgrc |
69 $ echo '[hooks]' >> .hg/hgrc |
67 $ echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc |
70 $ echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc |
68 $ hg pull |
71 $ hg pull |
69 changegroup hook: HG_NODE=822d6e31f08b9d6e3b898ce5e52efc0a4bf4905a HG_SOURCE=pull HG_URL=http://localhost:$HGPORT/remote |
72 changegroup hook: HG_NODE=4ac2e3648604439c580c69b09ec9d93a88d93432 HG_SOURCE=pull HG_URL=http://localhost:$HGPORT/remote |
70 pulling from static-http://localhost:$HGPORT/remote |
73 pulling from static-http://localhost:$HGPORT/remote |
71 searching for changes |
74 searching for changes |
72 adding changesets |
75 adding changesets |
73 adding manifests |
76 adding manifests |
74 adding file changes |
77 adding file changes |
94 [255] |
97 [255] |
95 $ hg clone -r 0 static-http://localhost:$HGPORT/remote local0 |
98 $ hg clone -r 0 static-http://localhost:$HGPORT/remote local0 |
96 adding changesets |
99 adding changesets |
97 adding manifests |
100 adding manifests |
98 adding file changes |
101 adding file changes |
99 added 1 changesets with 1 changes to 1 files |
102 added 1 changesets with 2 changes to 2 files |
100 updating to branch default |
103 updating to branch default |
101 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
104 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
102 |
105 |
103 test with "/" URI (issue 747) |
106 test with "/" URI (issue 747) |
104 |
107 |
105 $ hg init |
108 $ hg init |
106 $ echo a > a |
109 $ echo a > a |