Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-rawcommit1.out @ 1981:736b6c96bbbc
make incoming work via ssh (issue139); move chunk code into separate module.
Incoming ssh needs to detect the end of the changegroup, otherwise it would
block trying to read from the ssh pipe. This is done by parsing the
changegroup chunks.
bundlerepo.getchunk() already is identical to
localrepo.addchangegroup.getchunk(), which is followed by getgroup which
looks much like what you can re-use in bundlerepository.__init__() and in
write_bundle(). bundlerevlog.__init__.genchunk() looks very similar, too,
as do some while loops in localrepo.py.
Applied patch from Benoit Boissinot to move duplicate/related code
to mercurial/changegroup.py and use this to fix incoming ssh.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 21 Mar 2006 11:47:21 +0100 |
parents | 7544700fd931 |
children | 9fe62e2db71d |
rev | line source |
---|---|
444 | 1 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a |
2 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b | |
1657
dbb8bba48510
deprecate the rawcommit command
Matt Mackall <mpm@selenic.com>
parents:
993
diff
changeset
|
3 (the rawcommit command is deprecated) |
444 | 4 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a |
5 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b | |
6 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c | |
1933
7544700fd931
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1657
diff
changeset
|
7 changeset: 2:e110db3db549 |
444 | 8 tag: tip |
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
591
diff
changeset
|
9 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:
1657
diff
changeset
|
10 date: Mon Jan 12 13:46:40 1970 +0000 |
591 | 11 summary: 2 |
546
c8ae964109c1
Add an empty line after description in verbose mode of show_changeset.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
495
diff
changeset
|
12 |
1657
dbb8bba48510
deprecate the rawcommit command
Matt Mackall <mpm@selenic.com>
parents:
993
diff
changeset
|
13 (the rawcommit command is deprecated) |
444 | 14 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a |
15 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c | |
1933
7544700fd931
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1657
diff
changeset
|
16 changeset: 3:0f9843914735 |
444 | 17 tag: tip |
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
591
diff
changeset
|
18 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:
1657
diff
changeset
|
19 date: Mon Jan 12 13:46:40 1970 +0000 |
591 | 20 summary: 3 |
546
c8ae964109c1
Add an empty line after description in verbose mode of show_changeset.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
495
diff
changeset
|
21 |
1657
dbb8bba48510
deprecate the rawcommit command
Matt Mackall <mpm@selenic.com>
parents:
993
diff
changeset
|
22 (the rawcommit command is deprecated) |
444 | 23 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a |
24 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c | |
1933
7544700fd931
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1657
diff
changeset
|
25 changeset: 4:909a3d1d3ee1 |
444 | 26 tag: tip |
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
591
diff
changeset
|
27 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:
1657
diff
changeset
|
28 date: Mon Jan 12 13:46:40 1970 +0000 |
591 | 29 summary: 4 |
546
c8ae964109c1
Add an empty line after description in verbose mode of show_changeset.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
495
diff
changeset
|
30 |
1657
dbb8bba48510
deprecate the rawcommit command
Matt Mackall <mpm@selenic.com>
parents:
993
diff
changeset
|
31 (the rawcommit command is deprecated) |
444 | 32 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a |
33 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b | |
34 3570202ceac2b52517df64ebd0a062cb0d8fe33a 644 c | |
1933
7544700fd931
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1657
diff
changeset
|
35 changeset: 4:909a3d1d3ee1 |
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
591
diff
changeset
|
36 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:
1657
diff
changeset
|
37 date: Mon Jan 12 13:46:40 1970 +0000 |
591 | 38 summary: 4 |
444 | 39 |
1657
dbb8bba48510
deprecate the rawcommit command
Matt Mackall <mpm@selenic.com>
parents:
993
diff
changeset
|
40 (the rawcommit command is deprecated) |
444 | 41 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a |
42 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c | |
1933
7544700fd931
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1657
diff
changeset
|
43 changeset: 6:725fdd0728db |
444 | 44 tag: tip |
1933
7544700fd931
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1657
diff
changeset
|
45 parent: 4:909a3d1d3ee1 |
7544700fd931
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1657
diff
changeset
|
46 parent: 5:f56d4c64ab98 |
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
591
diff
changeset
|
47 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:
1657
diff
changeset
|
48 date: Mon Jan 12 13:46:40 1970 +0000 |
591 | 49 summary: 6 |
444 | 50 |
1657
dbb8bba48510
deprecate the rawcommit command
Matt Mackall <mpm@selenic.com>
parents:
993
diff
changeset
|
51 (the rawcommit command is deprecated) |
444 | 52 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a |
53 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c | |
1933
7544700fd931
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1657
diff
changeset
|
54 changeset: 7:2c11b55105cb |
444 | 55 tag: tip |
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
591
diff
changeset
|
56 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:
1657
diff
changeset
|
57 date: Mon Jan 12 13:46:40 1970 +0000 |
591 | 58 summary: 7 |
444 | 59 |