##// END OF EJS Templates
exchange: correctly specify url to unbundle (issue5145)...
Augie Fackler -
r29704:b8f9cdca stable
parent child Browse files
Show More
@@ -856,7 +856,8 b' def _pushbundle2(pushop):'
856 stream = util.chunkbuffer(bundler.getchunks())
856 stream = util.chunkbuffer(bundler.getchunks())
857 try:
857 try:
858 try:
858 try:
859 reply = pushop.remote.unbundle(stream, ['force'], 'push')
859 reply = pushop.remote.unbundle(
860 stream, ['force'], pushop.remote.url())
860 except error.BundleValueError as exc:
861 except error.BundleValueError as exc:
861 raise error.Abort(_('missing support for %s') % exc)
862 raise error.Abort(_('missing support for %s') % exc)
862 try:
863 try:
@@ -257,7 +257,7 b' push'
257 remote: lock: free
257 remote: lock: free
258 remote: wlock: free
258 remote: wlock: free
259 remote: postclose-tip:eea13746799a public book_eea1
259 remote: postclose-tip:eea13746799a public book_eea1
260 remote: txnclose hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2=1 HG_NEW_OBSMARKERS=1 HG_NODE=eea13746799a9e0bfd88f29d3c2e9dc9389f524f HG_NODE_LAST=eea13746799a9e0bfd88f29d3c2e9dc9389f524f HG_PHASES_MOVED=1 HG_SOURCE=push HG_TXNID=TXN:* HG_TXNNAME=push HG_URL=push (glob)
260 remote: txnclose hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2=1 HG_NEW_OBSMARKERS=1 HG_NODE=eea13746799a9e0bfd88f29d3c2e9dc9389f524f HG_NODE_LAST=eea13746799a9e0bfd88f29d3c2e9dc9389f524f HG_PHASES_MOVED=1 HG_SOURCE=push HG_TXNID=TXN:* HG_TXNNAME=push HG_URL=file:$TESTTMP/other (glob)
261 updating bookmark book_eea1
261 updating bookmark book_eea1
262 pre-close-tip:02de42196ebe draft book_02de
262 pre-close-tip:02de42196ebe draft book_02de
263 postclose-tip:02de42196ebe draft book_02de
263 postclose-tip:02de42196ebe draft book_02de
@@ -236,9 +236,9 b' pushkey hook'
236 searching for changes
236 searching for changes
237 no changes found
237 no changes found
238 pretxnopen hook: HG_TXNID=TXN:* HG_TXNNAME=push (glob)
238 pretxnopen hook: HG_TXNID=TXN:* HG_TXNNAME=push (glob)
239 pretxnclose hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2=1 HG_PENDING=$TESTTMP/a HG_SOURCE=push HG_TXNID=TXN:* HG_TXNNAME=push HG_URL=push (glob)
239 pretxnclose hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2=1 HG_PENDING=$TESTTMP/a HG_SOURCE=push HG_TXNID=TXN:* HG_TXNNAME=push HG_URL=file:$TESTTMP/a (glob)
240 pushkey hook: HG_KEY=foo HG_NAMESPACE=bookmarks HG_NEW=0000000000000000000000000000000000000000 HG_RET=1
240 pushkey hook: HG_KEY=foo HG_NAMESPACE=bookmarks HG_NEW=0000000000000000000000000000000000000000 HG_RET=1
241 txnclose hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2=1 HG_SOURCE=push HG_TXNID=TXN:* HG_TXNNAME=push HG_URL=push (glob)
241 txnclose hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2=1 HG_SOURCE=push HG_TXNID=TXN:* HG_TXNNAME=push HG_URL=file:$TESTTMP/a (glob)
242 exporting bookmark foo
242 exporting bookmark foo
243 [1]
243 [1]
244 $ cd ../a
244 $ cd ../a
@@ -271,7 +271,7 b' test that prepushkey can prevent incomin'
271 listkeys hook: HG_NAMESPACE=bookmarks HG_VALUES={'bar': '0000000000000000000000000000000000000000', 'foo': '0000000000000000000000000000000000000000'}
271 listkeys hook: HG_NAMESPACE=bookmarks HG_VALUES={'bar': '0000000000000000000000000000000000000000', 'foo': '0000000000000000000000000000000000000000'}
272 no changes found
272 no changes found
273 pretxnopen hook: HG_TXNID=TXN:* HG_TXNNAME=push (glob)
273 pretxnopen hook: HG_TXNID=TXN:* HG_TXNNAME=push (glob)
274 prepushkey.forbid hook: HG_BUNDLE2=1 HG_KEY=baz HG_NAMESPACE=bookmarks HG_NEW=0000000000000000000000000000000000000000 HG_SOURCE=push HG_TXNID=TXN:* HG_URL=push (glob)
274 prepushkey.forbid hook: HG_BUNDLE2=1 HG_KEY=baz HG_NAMESPACE=bookmarks HG_NEW=0000000000000000000000000000000000000000 HG_SOURCE=push HG_TXNID=TXN:* HG_URL=file:$TESTTMP/a (glob)
275 pushkey-abort: prepushkey hook exited with status 1
275 pushkey-abort: prepushkey hook exited with status 1
276 abort: exporting bookmark baz failed!
276 abort: exporting bookmark baz failed!
277 [255]
277 [255]
General Comments 0
You need to be logged in to leave comments. Login now