Show More
@@ -142,6 +142,7 def vcrcommand(name, flags, spec): | |||
|
142 | 142 | return fn(*args, **kwargs) |
|
143 | 143 | return fn(*args, **kwargs) |
|
144 | 144 | inner.__name__ = fn.__name__ |
|
145 | inner.__doc__ = fn.__doc__ | |
|
145 | 146 | return command(name, fullflags, spec)(inner) |
|
146 | 147 | return decorate |
|
147 | 148 |
@@ -366,7 +366,7 def copystore(ui, srcrepo, destpath): | |||
|
366 | 366 | try: |
|
367 | 367 | hardlink = None |
|
368 | 368 | topic = _('linking') if hardlink else _('copying') |
|
369 | with ui.makeprogress(topic) as progress: | |
|
369 | with ui.makeprogress(topic, unit=_('files')) as progress: | |
|
370 | 370 | num = 0 |
|
371 | 371 | srcpublishing = srcrepo.publishing() |
|
372 | 372 | srcvfs = vfsmod.vfs(srcrepo.sharedpath) |
@@ -302,7 +302,8 class verifier(object): | |||
|
302 | 302 | ui.status(_("crosschecking files in changesets and manifests\n")) |
|
303 | 303 | |
|
304 | 304 | total = len(filelinkrevs) + len(filenodes) |
|
305 |
progress = ui.makeprogress(_('crosschecking'), t |
|
|
305 | progress = ui.makeprogress(_('crosschecking'), unit=_('files'), | |
|
306 | total=total) | |
|
306 | 307 | if self.havemf: |
|
307 | 308 | for f in sorted(filelinkrevs): |
|
308 | 309 | progress.increment() |
@@ -87,47 +87,47 No update, with debug option: | |||
|
87 | 87 | |
|
88 | 88 | #if hardlink |
|
89 | 89 | $ hg --debug clone -U . ../c --config progress.debug=true |
|
90 | linking: 1 | |
|
91 | linking: 2 | |
|
92 | linking: 3 | |
|
93 | linking: 4 | |
|
94 | linking: 5 | |
|
95 | linking: 6 | |
|
96 | linking: 7 | |
|
97 | linking: 8 | |
|
90 | linking: 1 files | |
|
91 | linking: 2 files | |
|
92 | linking: 3 files | |
|
93 | linking: 4 files | |
|
94 | linking: 5 files | |
|
95 | linking: 6 files | |
|
96 | linking: 7 files | |
|
97 | linking: 8 files | |
|
98 | 98 | linked 8 files (reporevlogstore !) |
|
99 | linking: 9 (reposimplestore !) | |
|
100 | linking: 10 (reposimplestore !) | |
|
101 | linking: 11 (reposimplestore !) | |
|
102 | linking: 12 (reposimplestore !) | |
|
103 | linking: 13 (reposimplestore !) | |
|
104 | linking: 14 (reposimplestore !) | |
|
105 | linking: 15 (reposimplestore !) | |
|
106 | linking: 16 (reposimplestore !) | |
|
107 | linking: 17 (reposimplestore !) | |
|
108 | linking: 18 (reposimplestore !) | |
|
99 | linking: 9 files (reposimplestore !) | |
|
100 | linking: 10 files (reposimplestore !) | |
|
101 | linking: 11 files (reposimplestore !) | |
|
102 | linking: 12 files (reposimplestore !) | |
|
103 | linking: 13 files (reposimplestore !) | |
|
104 | linking: 14 files (reposimplestore !) | |
|
105 | linking: 15 files (reposimplestore !) | |
|
106 | linking: 16 files (reposimplestore !) | |
|
107 | linking: 17 files (reposimplestore !) | |
|
108 | linking: 18 files (reposimplestore !) | |
|
109 | 109 | linked 18 files (reposimplestore !) |
|
110 | 110 | #else |
|
111 | 111 | $ hg --debug clone -U . ../c --config progress.debug=true |
|
112 | linking: 1 | |
|
113 | copying: 2 | |
|
114 | copying: 3 | |
|
115 | copying: 4 | |
|
116 | copying: 5 | |
|
117 | copying: 6 | |
|
118 | copying: 7 | |
|
119 | copying: 8 | |
|
112 | linking: 1 files | |
|
113 | copying: 2 files | |
|
114 | copying: 3 files | |
|
115 | copying: 4 files | |
|
116 | copying: 5 files | |
|
117 | copying: 6 files | |
|
118 | copying: 7 files | |
|
119 | copying: 8 files | |
|
120 | 120 | copied 8 files (reporevlogstore !) |
|
121 | copying: 9 (reposimplestore !) | |
|
122 | copying: 10 (reposimplestore !) | |
|
123 | copying: 11 (reposimplestore !) | |
|
124 | copying: 12 (reposimplestore !) | |
|
125 | copying: 13 (reposimplestore !) | |
|
126 | copying: 14 (reposimplestore !) | |
|
127 | copying: 15 (reposimplestore !) | |
|
128 | copying: 16 (reposimplestore !) | |
|
129 | copying: 17 (reposimplestore !) | |
|
130 | copying: 18 (reposimplestore !) | |
|
121 | copying: 9 files (reposimplestore !) | |
|
122 | copying: 10 files (reposimplestore !) | |
|
123 | copying: 11 files (reposimplestore !) | |
|
124 | copying: 12 files (reposimplestore !) | |
|
125 | copying: 13 files (reposimplestore !) | |
|
126 | copying: 14 files (reposimplestore !) | |
|
127 | copying: 15 files (reposimplestore !) | |
|
128 | copying: 16 files (reposimplestore !) | |
|
129 | copying: 17 files (reposimplestore !) | |
|
130 | copying: 18 files (reposimplestore !) | |
|
131 | 131 | copied 18 files (reposimplestore !) |
|
132 | 132 | #endif |
|
133 | 133 | $ cd ../c |
@@ -61,13 +61,13 Prepare repo r1: | |||
|
61 | 61 | Create hardlinked clone r2: |
|
62 | 62 | |
|
63 | 63 | $ hg clone -U --debug r1 r2 --config progress.debug=true |
|
64 | linking: 1 | |
|
65 | linking: 2 | |
|
66 | linking: 3 | |
|
67 | linking: 4 | |
|
68 | linking: 5 | |
|
69 | linking: 6 | |
|
70 | linking: 7 | |
|
64 | linking: 1 files | |
|
65 | linking: 2 files | |
|
66 | linking: 3 files | |
|
67 | linking: 4 files | |
|
68 | linking: 5 files | |
|
69 | linking: 6 files | |
|
70 | linking: 7 files | |
|
71 | 71 | linked 7 files |
|
72 | 72 | |
|
73 | 73 | Create non-hardlinked clone r3: |
@@ -68,17 +68,20 Redirect targets advertised when configu | |||
|
68 | 68 | s> Content-Length: 2259\r\n |
|
69 | 69 | s> \r\n |
|
70 | 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 | 73 | sending capabilities command |
|
73 | 74 | s> POST /api/exp-http-v2-0003/ro/capabilities HTTP/1.1\r\n |
|
74 | 75 | s> Accept-Encoding: identity\r\n |
|
75 | 76 | s> accept: application/mercurial-exp-framing-0006\r\n |
|
76 | 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 | 80 | s> host: $LOCALIP:$HGPORT\r\n (glob) |
|
79 | 81 | s> user-agent: Mercurial debugwireproto\r\n |
|
80 | 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 | 85 | s> makefile('rb', None) |
|
83 | 86 | s> HTTP/1.1 200 OK\r\n |
|
84 | 87 | s> Server: testing stub value\r\n |
General Comments 0
You need to be logged in to leave comments.
Login now