Show More
@@ -142,6 +142,7 b' def vcrcommand(name, flags, spec):' | |||||
142 | return fn(*args, **kwargs) |
|
142 | return fn(*args, **kwargs) | |
143 | return fn(*args, **kwargs) |
|
143 | return fn(*args, **kwargs) | |
144 | inner.__name__ = fn.__name__ |
|
144 | inner.__name__ = fn.__name__ | |
|
145 | inner.__doc__ = fn.__doc__ | |||
145 | return command(name, fullflags, spec)(inner) |
|
146 | return command(name, fullflags, spec)(inner) | |
146 | return decorate |
|
147 | return decorate | |
147 |
|
148 |
@@ -366,7 +366,7 b' def copystore(ui, srcrepo, destpath):' | |||||
366 | try: |
|
366 | try: | |
367 | hardlink = None |
|
367 | hardlink = None | |
368 | topic = _('linking') if hardlink else _('copying') |
|
368 | topic = _('linking') if hardlink else _('copying') | |
369 | with ui.makeprogress(topic) as progress: |
|
369 | with ui.makeprogress(topic, unit=_('files')) as progress: | |
370 | num = 0 |
|
370 | num = 0 | |
371 | srcpublishing = srcrepo.publishing() |
|
371 | srcpublishing = srcrepo.publishing() | |
372 | srcvfs = vfsmod.vfs(srcrepo.sharedpath) |
|
372 | srcvfs = vfsmod.vfs(srcrepo.sharedpath) |
@@ -302,7 +302,8 b' class verifier(object):' | |||||
302 | ui.status(_("crosschecking files in changesets and manifests\n")) |
|
302 | ui.status(_("crosschecking files in changesets and manifests\n")) | |
303 |
|
303 | |||
304 | total = len(filelinkrevs) + len(filenodes) |
|
304 | total = len(filelinkrevs) + len(filenodes) | |
305 |
progress = ui.makeprogress(_('crosschecking'), t |
|
305 | progress = ui.makeprogress(_('crosschecking'), unit=_('files'), | |
|
306 | total=total) | |||
306 | if self.havemf: |
|
307 | if self.havemf: | |
307 | for f in sorted(filelinkrevs): |
|
308 | for f in sorted(filelinkrevs): | |
308 | progress.increment() |
|
309 | progress.increment() |
@@ -87,47 +87,47 b' No update, with debug option:' | |||||
87 |
|
87 | |||
88 | #if hardlink |
|
88 | #if hardlink | |
89 | $ hg --debug clone -U . ../c --config progress.debug=true |
|
89 | $ hg --debug clone -U . ../c --config progress.debug=true | |
90 | linking: 1 |
|
90 | linking: 1 files | |
91 | linking: 2 |
|
91 | linking: 2 files | |
92 | linking: 3 |
|
92 | linking: 3 files | |
93 | linking: 4 |
|
93 | linking: 4 files | |
94 | linking: 5 |
|
94 | linking: 5 files | |
95 | linking: 6 |
|
95 | linking: 6 files | |
96 | linking: 7 |
|
96 | linking: 7 files | |
97 | linking: 8 |
|
97 | linking: 8 files | |
98 | linked 8 files (reporevlogstore !) |
|
98 | linked 8 files (reporevlogstore !) | |
99 | linking: 9 (reposimplestore !) |
|
99 | linking: 9 files (reposimplestore !) | |
100 | linking: 10 (reposimplestore !) |
|
100 | linking: 10 files (reposimplestore !) | |
101 | linking: 11 (reposimplestore !) |
|
101 | linking: 11 files (reposimplestore !) | |
102 | linking: 12 (reposimplestore !) |
|
102 | linking: 12 files (reposimplestore !) | |
103 | linking: 13 (reposimplestore !) |
|
103 | linking: 13 files (reposimplestore !) | |
104 | linking: 14 (reposimplestore !) |
|
104 | linking: 14 files (reposimplestore !) | |
105 | linking: 15 (reposimplestore !) |
|
105 | linking: 15 files (reposimplestore !) | |
106 | linking: 16 (reposimplestore !) |
|
106 | linking: 16 files (reposimplestore !) | |
107 | linking: 17 (reposimplestore !) |
|
107 | linking: 17 files (reposimplestore !) | |
108 | linking: 18 (reposimplestore !) |
|
108 | linking: 18 files (reposimplestore !) | |
109 | linked 18 files (reposimplestore !) |
|
109 | linked 18 files (reposimplestore !) | |
110 | #else |
|
110 | #else | |
111 | $ hg --debug clone -U . ../c --config progress.debug=true |
|
111 | $ hg --debug clone -U . ../c --config progress.debug=true | |
112 | linking: 1 |
|
112 | linking: 1 files | |
113 | copying: 2 |
|
113 | copying: 2 files | |
114 | copying: 3 |
|
114 | copying: 3 files | |
115 | copying: 4 |
|
115 | copying: 4 files | |
116 | copying: 5 |
|
116 | copying: 5 files | |
117 | copying: 6 |
|
117 | copying: 6 files | |
118 | copying: 7 |
|
118 | copying: 7 files | |
119 | copying: 8 |
|
119 | copying: 8 files | |
120 | copied 8 files (reporevlogstore !) |
|
120 | copied 8 files (reporevlogstore !) | |
121 | copying: 9 (reposimplestore !) |
|
121 | copying: 9 files (reposimplestore !) | |
122 | copying: 10 (reposimplestore !) |
|
122 | copying: 10 files (reposimplestore !) | |
123 | copying: 11 (reposimplestore !) |
|
123 | copying: 11 files (reposimplestore !) | |
124 | copying: 12 (reposimplestore !) |
|
124 | copying: 12 files (reposimplestore !) | |
125 | copying: 13 (reposimplestore !) |
|
125 | copying: 13 files (reposimplestore !) | |
126 | copying: 14 (reposimplestore !) |
|
126 | copying: 14 files (reposimplestore !) | |
127 | copying: 15 (reposimplestore !) |
|
127 | copying: 15 files (reposimplestore !) | |
128 | copying: 16 (reposimplestore !) |
|
128 | copying: 16 files (reposimplestore !) | |
129 | copying: 17 (reposimplestore !) |
|
129 | copying: 17 files (reposimplestore !) | |
130 | copying: 18 (reposimplestore !) |
|
130 | copying: 18 files (reposimplestore !) | |
131 | copied 18 files (reposimplestore !) |
|
131 | copied 18 files (reposimplestore !) | |
132 | #endif |
|
132 | #endif | |
133 | $ cd ../c |
|
133 | $ cd ../c |
@@ -61,13 +61,13 b' Prepare repo r1:' | |||||
61 | Create hardlinked clone r2: |
|
61 | Create hardlinked clone r2: | |
62 |
|
62 | |||
63 | $ hg clone -U --debug r1 r2 --config progress.debug=true |
|
63 | $ hg clone -U --debug r1 r2 --config progress.debug=true | |
64 | linking: 1 |
|
64 | linking: 1 files | |
65 | linking: 2 |
|
65 | linking: 2 files | |
66 | linking: 3 |
|
66 | linking: 3 files | |
67 | linking: 4 |
|
67 | linking: 4 files | |
68 | linking: 5 |
|
68 | linking: 5 files | |
69 | linking: 6 |
|
69 | linking: 6 files | |
70 | linking: 7 |
|
70 | linking: 7 files | |
71 | linked 7 files |
|
71 | linked 7 files | |
72 |
|
72 | |||
73 | Create non-hardlinked clone r3: |
|
73 | Create non-hardlinked clone r3: |
@@ -90,7 +90,7 b' Various statprof formatters work' | |||||
90 | $ head -n 3 ../out |
|
90 | $ head -n 3 ../out | |
91 | % cumulative self |
|
91 | % cumulative self | |
92 | time seconds seconds name |
|
92 | time seconds seconds name | |
93 |
|
|
93 | * sleepext.py:*:sleep (glob) | |
94 | $ cat ../out | statprofran |
|
94 | $ cat ../out | statprofran | |
95 |
|
95 | |||
96 | $ hg --profile --config profiling.statformat=bymethod sleep 2>../out || cat ../out |
|
96 | $ hg --profile --config profiling.statformat=bymethod sleep 2>../out || cat ../out |
@@ -68,17 +68,20 b' Redirect targets advertised when configu' | |||||
68 | s> Content-Length: 2259\r\n |
|
68 | s> Content-Length: 2259\r\n | |
69 | s> \r\n |
|
69 | s> \r\n | |
70 | s> \xa3GapibaseDapi/Dapis\xa1Pexp-http-v2-0003\xa5Hcommands\xacIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa2Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionIrevisions\xa2Hrequired\xf5DtypeDlistKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x83HlinknodeGparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullIfilesdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84NfirstchangesetHlinknodeGparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolJpathfilter\xa3Gdefault\xf6Hrequired\xf4DtypeDdictIrevisions\xa2Hrequired\xf5DtypeDlistKpermissions\x81DpullTrecommendedbatchsize\x19\xc3PEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushPrawstorefiledata\xa2Dargs\xa2Efiles\xa2Hrequired\xf5DtypeDlistJpathfilter\xa3Gdefault\xf6Hrequired\xf4DtypeDlistKpermissions\x81DpullQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x81\xa5DnameHtarget-aHprotocolDhttpKsnirequired\xf4Ktlsversions\x82C1.2C1.3Duris\x81Shttp://example.com/Nv1capabilitiesY\x01\xd3batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash |
|
70 | s> \xa3GapibaseDapi/Dapis\xa1Pexp-http-v2-0003\xa5Hcommands\xacIbranchmap\xa2Dargs\xa0Kpermissions\x81DpullLcapabilities\xa2Dargs\xa0Kpermissions\x81DpullMchangesetdata\xa2Dargs\xa2Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84IbookmarksGparentsEphaseHrevisionIrevisions\xa2Hrequired\xf5DtypeDlistKpermissions\x81DpullHfiledata\xa2Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x83HlinknodeGparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDpath\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullIfilesdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x84NfirstchangesetHlinknodeGparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolJpathfilter\xa3Gdefault\xf6Hrequired\xf4DtypeDdictIrevisions\xa2Hrequired\xf5DtypeDlistKpermissions\x81DpullTrecommendedbatchsize\x19\xc3PEheads\xa2Dargs\xa1Jpubliconly\xa3Gdefault\xf4Hrequired\xf4DtypeDboolKpermissions\x81DpullEknown\xa2Dargs\xa1Enodes\xa3Gdefault\x80Hrequired\xf4DtypeDlistKpermissions\x81DpullHlistkeys\xa2Dargs\xa1Inamespace\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullFlookup\xa2Dargs\xa1Ckey\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullLmanifestdata\xa3Dargs\xa4Ffields\xa4Gdefault\xd9\x01\x02\x80Hrequired\xf4DtypeCsetKvalidvalues\xd9\x01\x02\x82GparentsHrevisionKhaveparents\xa3Gdefault\xf4Hrequired\xf4DtypeDboolEnodes\xa2Hrequired\xf5DtypeDlistDtree\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpullTrecommendedbatchsize\x1a\x00\x01\x86\xa0Gpushkey\xa2Dargs\xa4Ckey\xa2Hrequired\xf5DtypeEbytesInamespace\xa2Hrequired\xf5DtypeEbytesCnew\xa2Hrequired\xf5DtypeEbytesCold\xa2Hrequired\xf5DtypeEbytesKpermissions\x81DpushPrawstorefiledata\xa2Dargs\xa2Efiles\xa2Hrequired\xf5DtypeDlistJpathfilter\xa3Gdefault\xf6Hrequired\xf4DtypeDlistKpermissions\x81DpullQframingmediatypes\x81X&application/mercurial-exp-framing-0006Rpathfilterprefixes\xd9\x01\x02\x82Epath:Lrootfilesin:Nrawrepoformats\x82LgeneraldeltaHrevlogv1Hredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x81\xa5DnameHtarget-aHprotocolDhttpKsnirequired\xf4Ktlsversions\x82C1.2C1.3Duris\x81Shttp://example.com/Nv1capabilitiesY\x01\xd3batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset compression=$BUNDLE2_COMPRESSIONS$ getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
71 | (remote redirect target target-a is compatible) |
|
71 | (remote redirect target target-a is compatible) (tls1.2 !) | |
|
72 | (remote redirect target target-a requires unsupported TLS versions: 1.2, 1.3) (no-tls1.2 !) | |||
72 | sending capabilities command |
|
73 | sending capabilities command | |
73 | s> POST /api/exp-http-v2-0003/ro/capabilities HTTP/1.1\r\n |
|
74 | s> POST /api/exp-http-v2-0003/ro/capabilities HTTP/1.1\r\n | |
74 | s> Accept-Encoding: identity\r\n |
|
75 | s> Accept-Encoding: identity\r\n | |
75 | s> accept: application/mercurial-exp-framing-0006\r\n |
|
76 | s> accept: application/mercurial-exp-framing-0006\r\n | |
76 | s> content-type: application/mercurial-exp-framing-0006\r\n |
|
77 | s> content-type: application/mercurial-exp-framing-0006\r\n | |
77 | s> content-length: 111\r\n |
|
78 | s> content-length: 111\r\n (tls1.2 !) | |
|
79 | s> content-length: 102\r\n (no-tls1.2 !) | |||
78 | s> host: $LOCALIP:$HGPORT\r\n (glob) |
|
80 | s> host: $LOCALIP:$HGPORT\r\n (glob) | |
79 | s> user-agent: Mercurial debugwireproto\r\n |
|
81 | s> user-agent: Mercurial debugwireproto\r\n | |
80 | s> \r\n |
|
82 | s> \r\n | |
81 | s> \x1c\x00\x00\x01\x00\x01\x01\x82\xa1Pcontentencodings\x81HidentityC\x00\x00\x01\x00\x01\x00\x11\xa2DnameLcapabilitiesHredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x81Htarget-a |
|
83 | s> \x1c\x00\x00\x01\x00\x01\x01\x82\xa1Pcontentencodings\x81HidentityC\x00\x00\x01\x00\x01\x00\x11\xa2DnameLcapabilitiesHredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x81Htarget-a (tls1.2 !) | |
|
84 | s> \x1c\x00\x00\x01\x00\x01\x01\x82\xa1Pcontentencodings\x81Hidentity:\x00\x00\x01\x00\x01\x00\x11\xa2DnameLcapabilitiesHredirect\xa2Fhashes\x82Fsha256Dsha1Gtargets\x80 (no-tls1.2 !) | |||
82 | s> makefile('rb', None) |
|
85 | s> makefile('rb', None) | |
83 | s> HTTP/1.1 200 OK\r\n |
|
86 | s> HTTP/1.1 200 OK\r\n | |
84 | s> Server: testing stub value\r\n |
|
87 | s> Server: testing stub value\r\n |
General Comments 0
You need to be logged in to leave comments.
Login now