Show More
@@ -786,9 +786,8 def upload_bundle(repo, bundle): | |||||
786 | else: |
|
786 | else: | |
787 | cmd = repo.ui.config(b'clone-bundles', b'upload-command') |
|
787 | cmd = repo.ui.config(b'clone-bundles', b'upload-command') | |
788 | url = repo.ui.config(b'clone-bundles', b'url-template') |
|
788 | url = repo.ui.config(b'clone-bundles', b'url-template') | |
789 | filepath = procutil.shellquote(bundle.filepath) |
|
|||
790 | variables = { |
|
789 | variables = { | |
791 | b'HGCB_BUNDLE_PATH': filepath, |
|
790 | b'HGCB_BUNDLE_PATH': bundle.filepath, | |
792 | b'HGCB_BUNDLE_BASENAME': basename, |
|
791 | b'HGCB_BUNDLE_BASENAME': basename, | |
793 | } |
|
792 | } | |
794 | env = procutil.shellenviron(environ=variables) |
|
793 | env = procutil.shellenviron(environ=variables) |
@@ -76,8 +76,6 Test that the HGCB_BUNDLE_BASENAME varia | |||||
76 | adding manifests |
|
76 | adding manifests | |
77 | adding file changes |
|
77 | adding file changes | |
78 | 2 changesets found |
|
78 | 2 changesets found | |
79 | cp: cannot stat ''\''$TESTTMP/embed-"-name/server/.hg/tmp-bundles/full-bzip2-v2-2_revs-aaff8d2ffbbf_tip-*_txn.hg'\''': $ENOENT$ (glob) |
|
|||
80 | abort: command returned status 1: cp "$HGCB_BUNDLE_PATH" "$TESTTMP"/final-upload/ |
|
|||
81 | added 2 changesets with 2 changes to 2 files |
|
79 | added 2 changesets with 2 changes to 2 files | |
82 | clone-bundles: starting bundle generation: bzip2-v2 |
|
80 | clone-bundles: starting bundle generation: bzip2-v2 | |
83 |
|
81 |
General Comments 0
You need to be logged in to leave comments.
Login now