comparison tests/test-pullbundle.t @ 4134:ab77f37fedf3

pullbundle: add a config option for the cache directory
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 24 Sep 2018 00:28:10 +0200
parents 1293625d274d
children cfdc6f55599b
comparison
equal deleted inserted replaced
4133:1293625d274d 4134:ab77f37fedf3
2125 +02-e74670ea99533967c5d90da3ddbc0318cc1fd502-0000001024skip-0000000512size.hg 2125 +02-e74670ea99533967c5d90da3ddbc0318cc1fd502-0000001024skip-0000000512size.hg
2126 02-e74670ea99533967c5d90da3ddbc0318cc1fd502-0000001280skip-0000000256size.hg 2126 02-e74670ea99533967c5d90da3ddbc0318cc1fd502-0000001280skip-0000000256size.hg
2127 02-e74670ea99533967c5d90da3ddbc0318cc1fd502-0000001528skip-0000000008size.hg 2127 02-e74670ea99533967c5d90da3ddbc0318cc1fd502-0000001528skip-0000000008size.hg
2128 02-ee2deecf044fa5583f66188c9177b0f13332adc2-0000001024skip-0000000128size.hg 2128 02-ee2deecf044fa5583f66188c9177b0f13332adc2-0000001024skip-0000000128size.hg
2129 [1] 2129 [1]
2130
2131 Test cache setting
2132 ==================
2133
2134 cache directory
2135 ---------------
2136
2137 $ mkdir bundle-cache
2138 $ cat << EOF >> $HGRCPATH
2139 > [pullbundle]
2140 > cache-directory=$TESTTMP/bundle-cache
2141 > EOF
2142
2143 $ hg clone --pull server client5
2144 requesting all changes
2145 pullbundle-cache: "missing" set sliced into 15 subranges in *.* seconds (glob)
2146 adding changesets
2147 adding manifests
2148 adding file changes
2149 added 1024 changesets with 0 changes to 0 files
2150 adding changesets
2151 adding manifests
2152 adding file changes
2153 added 512 changesets with 0 changes to 0 files
2154 adding changesets
2155 adding manifests
2156 adding file changes
2157 added 256 changesets with 0 changes to 0 files
2158 adding changesets
2159 adding manifests
2160 adding file changes
2161 added 64 changesets with 0 changes to 0 files
2162 adding changesets
2163 adding manifests
2164 adding file changes
2165 added 8 changesets with 0 changes to 0 files
2166 adding changesets
2167 adding manifests
2168 adding file changes
2169 added 1 changesets with 0 changes to 0 files (+1 heads)
2170 adding changesets
2171 adding manifests
2172 adding file changes
2173 added 4 changesets with 0 changes to 0 files
2174 adding changesets
2175 adding manifests
2176 adding file changes
2177 added 8 changesets with 0 changes to 0 files
2178 adding changesets
2179 adding manifests
2180 adding file changes
2181 added 16 changesets with 0 changes to 0 files
2182 adding changesets
2183 adding manifests
2184 adding file changes
2185 added 128 changesets with 0 changes to 0 files
2186 adding changesets
2187 adding manifests
2188 adding file changes
2189 added 64 changesets with 0 changes to 0 files
2190 adding changesets
2191 adding manifests
2192 adding file changes
2193 added 32 changesets with 0 changes to 0 files
2194 adding changesets
2195 adding manifests
2196 adding file changes
2197 added 8 changesets with 0 changes to 0 files
2198 adding changesets
2199 adding manifests
2200 adding file changes
2201 added 4 changesets with 0 changes to 0 files
2202 adding changesets
2203 adding manifests
2204 adding file changes
2205 added 2 changesets with 0 changes to 0 files
2206 new changesets 1ea73414a91b:1dded5aafa0f
2207 updating to branch default
2208 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
2209
2210 $ ls -1 bundle-cache
2211 02-0f376356904fc8c1c6ceaac27990f2fd79b1f8c1-0000001856skip-0000000008size.hg
2212 02-1dded5aafa0f8d548f6357cc2f8882dcc4489fbf-0000001516skip-0000000002size.hg
2213 02-2dc4f1ab9029719714b8e0dde8e3725a5bb28472-0000001408skip-0000000064size.hg
2214 02-2f0e261a08964bc1c607c0eda4978364c22a9b94-0000001504skip-0000000008size.hg
2215 02-4a6d0f7d07d060b026d9fc690cd89cd26af96e42-0000001264skip-0000000016size.hg
2216 02-540f762640ee62ca597ece26af725e6357e82805-0000000000skip-0000001024size.hg
2217 02-5eaa75df73c454c1afff722301a4c73e897de94d-0000001256skip-0000000008size.hg
2218 02-b2d350c94c26edbb783aaa21fc24f1fc65c30e74-0000001536skip-0000000256size.hg
2219 02-bbd293bd171fd5b711d428db46940a72eca7a40f-0000001280skip-0000000128size.hg
2220 02-ca970a853ea24846035ccb324cc8de49ef768748-0000001252skip-0000000004size.hg
2221 02-d1807e3513890ac71c2e8d10e9dc9a5b58b15d4b-0000001251skip-0000000001size.hg
2222 02-da87a81c5310760f414a933e6550b7e8e60cf241-0000001792skip-0000000064size.hg
2223 02-dba2fddbf3c28198659046674a512afd616a1519-0000001472skip-0000000032size.hg
2224 02-e74670ea99533967c5d90da3ddbc0318cc1fd502-0000001024skip-0000000512size.hg
2225 02-fb6c210a224903e81e5a8d2ee099cb0c9526ba8c-0000001512skip-0000000004size.hg