weird during-Python-upgrade get-on test failures

4 views
Skip to first unread message

Nix

unread,
Jul 30, 2025, 11:38:04 AMJul 30
to bup-...@googlegroups.com
So I was upgrading the system Python on my random LFS box from 3.12.7 to
3.13.5, and doing a bup-and-dependencies upgrade as part of that, from
0.33.3 to 0.33.7. Doing a pytest before installation (so, there was a
bup on the system, but it was in /usr/lib/python3.12, not being used by
any installed Python) hit me with a bunch of get-on failures.

Installing the new bup made these errors go away, so I guess the
lingering /usr/bin/bup was somehow getting involved despite the attempts
to stop it, and/or the system /usr/lib/bup, or something.

(Installed git: 2.48.1.)

=============================================================== FAILURES ===============================================================
_________________________________________________________ test_get[get-on-ff] __________________________________________________________

tmpdir = b'/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6', disposition = 'get-on', category = 'ff'

@pytest.mark.parametrize("disposition,category", product(dispositions_to_test, categories))
def test_get(tmpdir, disposition, category):
chdir(tmpdir)
try:
src_info = create_get_src()
> globals().get('_test_' + category)(disposition, src_info)

test/ext/test_get.py:972:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/ext/test_get.py:422: in _test_ff
verify_rx(br'must be a branch, save, or commit', exr.err)
test/ext/test_get.py:64: in verify_rx
wvcheck(re.search(rx, string), 'rx %r matches %r' % (rx, string))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

cond = None, msg = "rx b'must be a branch, save, or commit' matches b''"

def WVCHECK(cond, msg):
> assert cond, msg
^^^^
E AssertionError: rx b'must be a branch, save, or commit' matches b''

test/lib/wvpytest.py:44: AssertionError
--------------------------------------------------------- Captured stdout call ---------------------------------------------------------
preparing
d0c95b53468e5152e6a4ec635516c207a123b555
cbdcee6d969748c033716321283a5b7fa0383883
get-on --ff to root fails
get-on --ff of not-committish fails
--------------------------------------------------------- Captured stderr call ---------------------------------------------------------
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-src/
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src index src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src save -tcn unrelated-branch src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src index --clear
clear: clearing index.
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src index src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src save -tcn src src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src ls src
git --git-dir get-src branch src-0 src
cp -RPp src src-0
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src random 1k > src/1
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src random 1k > src/x/2
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src index src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src save -tcn src src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src ls src
git --git-dir get-src branch src-1 src
cp -RPp src src-1
cp -RPp get-src/refs/heads/src get-src/refs/heads/src-ancestor
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src index src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tick
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src save -tcn src src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src ls src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src ls -s src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src ls -s src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag tinyfile 7c465afc533f95ff7d2c91e18921f94aac8292fc
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag subtree f1bf6037a07c61fbd7a4ff433fe1ed1d51992935
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag tree-0 6f0a3203c2a331c4bd8d3d629b210db5e0cf9e0b
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag tree-1 aa27a485c51b27404e6c0f80b97c66d21df3ab1e
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag tree-2 ef6680ed4e48a0e7247c343e7c0f1f64ce367e07
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag commit-0 b53cf44e187b057bec0ebc2376b93154f03110c9
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag commit-1 fd64f6bfb76fbe0db37affed65e9c01b29211d13
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag commit-2 9220cd7bf2b8242275b622fb3fc06abe4ee8f009
git --git-dir get-src branch commit-1 fd64f6bfb76fbe0db37affed65e9c01b29211d13
git --git-dir get-src branch commit-2 9220cd7bf2b8242275b622fb3fc06abe4ee8f009
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--ff', (b'.tag/tinyfile', b'/'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' .tag/tinyfile /
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: source for --ff: .tag/tinyfile / must be a branch, save, or commit, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--ff', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file', b'/'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file /
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: source for --ff: src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file / must be a branch, save, or commit, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--ff', (b'.tag/subtree', b'/'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' .tag/subtree /
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --ff: .tag/subtree / is impossible; can only --append a tree to a branch
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--ff', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/x', b'/'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/x /
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --ff: src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/x / is impossible; can only --append a tree to a branch
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--ff', (b'.tag/commit-1', b'/'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' .tag/commit-1 /
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: destination for --ff: .tag/commit-1 / is a root, not a branch
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--ff', (b'src/latest', b'/'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' src/latest /
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: destination for --ff: src/latest / is a root, not a branch
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--ff', (b'src', b'/'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' src /
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: destination for --ff: src / is a root, not a branch
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--ff', (b'.tag/tinyfile', b'obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' .tag/tinyfile obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: source for --ff: .tag/tinyfile obj must be a branch, save, or commit, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--ff', (b'.tag/tinyfile', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' .tag/tinyfile .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: source for --ff: .tag/tinyfile .tag/obj must be a branch, save, or commit, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/tinyfile', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/tinyfile .tag/obj
.tag/tinyfile
updated b'refs/tags/obj' (b'7c465afc533f95ff7d2c91e18921f94aac8292fc')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--ff', (b'.tag/tinyfile', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' .tag/tinyfile .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: source for --ff: .tag/tinyfile .tag/obj must be a branch, save, or commit, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/tree-1', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/tree-1 .tag/obj
.tag/tree-1/
updated b'refs/tags/obj' (b'aa27a485c51b27404e6c0f80b97c66d21df3ab1e')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--ff', (b'.tag/tinyfile', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' .tag/tinyfile .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: source for --ff: .tag/tinyfile .tag/obj must be a branch, save, or commit, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/commit-1', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/commit-1 .tag/obj
.tag/commit-1/
updated b'refs/tags/obj' (b'fd64f6bfb76fbe0db37affed65e9c01b29211d13')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--ff', (b'.tag/tinyfile', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' .tag/tinyfile .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: source for --ff: .tag/tinyfile .tag/obj must be a branch, save, or commit, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/commit-1', b'obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/commit-1 obj
.tag/commit-1/
updated b'refs/heads/obj' (b'fd64f6bfb76fbe0db37affed65e9c01b29211d13')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--ff', (b'.tag/tinyfile', b'obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' .tag/tinyfile obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: source for --ff: .tag/tinyfile obj must be a branch, save, or commit, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--ff', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file', b'obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: source for --ff: src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file obj must be a branch, save, or commit, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--ff', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: source for --ff: src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file .tag/obj must be a branch, save, or commit, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/tinyfile', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/tinyfile .tag/obj
.tag/tinyfile
updated b'refs/tags/obj' (b'7c465afc533f95ff7d2c91e18921f94aac8292fc')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--ff', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: source for --ff: src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file .tag/obj must be a branch, save, or commit, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/tree-1', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/tree-1 .tag/obj
.tag/tree-1/
updated b'refs/tags/obj' (b'aa27a485c51b27404e6c0f80b97c66d21df3ab1e')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--ff', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: source for --ff: src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file .tag/obj must be a branch, save, or commit, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/commit-1', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/commit-1 .tag/obj
.tag/commit-1/
updated b'refs/tags/obj' (b'fd64f6bfb76fbe0db37affed65e9c01b29211d13')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--ff', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: source for --ff: src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file .tag/obj must be a branch, save, or commit, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/commit-1', b'obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/commit-1 obj
.tag/commit-1/
updated b'refs/heads/obj' (b'fd64f6bfb76fbe0db37affed65e9c01b29211d13')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--ff', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file', b'obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--ff:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_get1po4h4u6/src/tiny-file obj
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
------------------------------------------------------- Captured stderr teardown -------------------------------------------------------

Preserving: b'test/tmp/ext-test_get-py-test_get1po4h4u6'
_____________________________________________________ test_get[get-on-pick_force] ______________________________________________________

tmpdir = b'/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getmwfjhao7', disposition = 'get-on', category = 'pick_force'

@pytest.mark.parametrize("disposition,category", product(dispositions_to_test, categories))
def test_get(tmpdir, disposition, category):
chdir(tmpdir)
try:
src_info = create_get_src()
> globals().get('_test_' + category)(disposition, src_info)

test/ext/test_get.py:972:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/ext/test_get.py:705: in _test_pick_force
_test_pick_common(get_disposition, src_info, force=True)
test/ext/test_get.py:586: in _test_pick_common
verify_rx(br'can only pick a commit or save', exr.err)
test/ext/test_get.py:64: in verify_rx
wvcheck(re.search(rx, string), 'rx %r matches %r' % (rx, string))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

cond = None, msg = "rx b'can only pick a commit or save' matches b''"

def WVCHECK(cond, msg):
> assert cond, msg
^^^^
E AssertionError: rx b'can only pick a commit or save' matches b''

test/lib/wvpytest.py:44: AssertionError
--------------------------------------------------------- Captured stdout call ---------------------------------------------------------
preparing
8ba59aa9de0df8934e9f1f6892d467346daf5729
1fbd8ae38b323bc5caf788707f7f36c0c8b17689
get-on --force-pick to root fails
--------------------------------------------------------- Captured stderr call ---------------------------------------------------------
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getmwfjhao7/get-src/
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src index src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src save -tcn unrelated-branch src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src index --clear
clear: clearing index.
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src index src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src save -tcn src src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src ls src
git --git-dir get-src branch src-0 src
cp -RPp src src-0
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src random 1k > src/1
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src random 1k > src/x/2
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src index src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src save -tcn src src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src ls src
git --git-dir get-src branch src-1 src
cp -RPp src src-1
cp -RPp get-src/refs/heads/src get-src/refs/heads/src-ancestor
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src index src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tick
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src save -tcn src src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src ls src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src ls -s src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getmwfjhao7/src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src ls -s src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getmwfjhao7/src/tiny-file
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag tinyfile 7c465afc533f95ff7d2c91e18921f94aac8292fc
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag subtree 0d8ebe021554defd893a5d4bd8f6b0d85a7af6c4
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag tree-0 8c8cd87d869d6923c4272519373ccc5b3a79409b
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag tree-1 e1643e084ee53b53c833b2bcee40a7ad981e8cef
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag tree-2 f745045372c1cce3f89e7f19fe202d7a9bedc4a9
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag commit-0 07cbd42516a5c6c49b49d87bd78a4f897ab7635b
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag commit-1 b870139e3d90d1dd84a0b7c72f8e071bd1fe7521
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag commit-2 b42eed7d5f8732b352b0de410feeffbda8e291d1
git --git-dir get-src branch commit-1 b870139e3d90d1dd84a0b7c72f8e071bd1fe7521
git --git-dir get-src branch commit-2 b42eed7d5f8732b352b0de410feeffbda8e291d1
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getmwfjhao7/get-dest/
run_get: ('get-on', b'--force-pick', (b'.tag/tinyfile', b'/'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--force-pick:' .tag/tinyfile /
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --force-pick: .tag/tinyfile / impossible; can only pick a commit or save, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getmwfjhao7/get-dest/
run_get: ('get-on', b'--force-pick', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getmwfjhao7/src/tiny-file', b'/'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--force-pick:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getmwfjhao7/src/tiny-file /
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
------------------------------------------------------- Captured stderr teardown -------------------------------------------------------

Preserving: b'test/tmp/ext-test_get-py-test_getmwfjhao7'
____________________________________________________ test_get[get-on-pick_noforce] _____________________________________________________

tmpdir = b'/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr', disposition = 'get-on', category = 'pick_noforce'

@pytest.mark.parametrize("disposition,category", product(dispositions_to_test, categories))
def test_get(tmpdir, disposition, category):
chdir(tmpdir)
try:
src_info = create_get_src()
> globals().get('_test_' + category)(disposition, src_info)

test/ext/test_get.py:972:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/ext/test_get.py:708: in _test_pick_noforce
_test_pick_common(get_disposition, src_info, force=False)
test/ext/test_get.py:606: in _test_pick_common
verify_rx(br'impossible; can only pick a commit or save', exr.err)
test/ext/test_get.py:64: in verify_rx
wvcheck(re.search(rx, string), 'rx %r matches %r' % (rx, string))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

cond = None, msg = "rx b'impossible; can only pick a commit or save' matches b''"

def WVCHECK(cond, msg):
> assert cond, msg
^^^^
E AssertionError: rx b'impossible; can only pick a commit or save' matches b''

test/lib/wvpytest.py:44: AssertionError
--------------------------------------------------------- Captured stdout call ---------------------------------------------------------
preparing
dab1f5f04d6797a16fdc9e1fdfff1af6a6535aa0
7764ad9be3f6dee0c8118257db4737d00617dad6
get-on --pick to root fails
get-on --pick of blob or branch fails
--------------------------------------------------------- Captured stderr call ---------------------------------------------------------
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-src/
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src index src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src save -tcn unrelated-branch src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src index --clear
clear: clearing index.
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src index src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src save -tcn src src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src ls src
git --git-dir get-src branch src-0 src
cp -RPp src src-0
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src random 1k > src/1
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src random 1k > src/x/2
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src index src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src save -tcn src src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src ls src
git --git-dir get-src branch src-1 src
cp -RPp src src-1
cp -RPp get-src/refs/heads/src get-src/refs/heads/src-ancestor
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src index src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tick
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src save -tcn src src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src ls src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src ls -s src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src ls -s src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag tinyfile 7c465afc533f95ff7d2c91e18921f94aac8292fc
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag subtree d99d28675b5e56ecad4415087cc4f361b2c7edd4
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag tree-0 e6c24dbc96fbb93f25c7a54a8ed2087d5c42184c
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag tree-1 bc27211917a05da0e1830d463accd36aeec063eb
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag tree-2 0e1b762834e94663e046e258318eda54f3a9fe7f
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag commit-0 14c8759517767bcb69067547ca65bfa2ed450e3c
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag commit-1 c6d44b4de31cf8df02de357a6b13e1ceaafc96e3
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-src tag commit-2 3c68a80f4129e750d66aa6047465989d6d9100e9
git --git-dir get-src branch commit-1 c6d44b4de31cf8df02de357a6b13e1ceaafc96e3
git --git-dir get-src branch commit-2 3c68a80f4129e750d66aa6047465989d6d9100e9
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--pick', (b'.tag/tinyfile', b'/'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' .tag/tinyfile /
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: .tag/tinyfile / impossible; can only pick a commit or save, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--pick', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file', b'/'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file /
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file / impossible; can only pick a commit or save, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--pick', (b'src', b'/'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' src /
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: src / impossible; can only pick a commit or save, not branch
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--pick', (b'.tag/commit-1', b'/'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' .tag/commit-1 /
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: .tag/commit-1 / destination is not a tag or branch
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--pick', (b'src/latest', b'/'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' src/latest /
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: src/latest / destination is not a tag or branch
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--pick', (b'.tag/subtree', b'/'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' .tag/subtree /
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: .tag/subtree / is impossible; can only --append a tree
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--pick', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/x', b'/'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/x /
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/x / is impossible; can only --append a tree
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--pick', (b'.tag/tinyfile', b'obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' .tag/tinyfile obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: .tag/tinyfile obj impossible; can only pick a commit or save, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--pick', (b'.tag/tinyfile', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' .tag/tinyfile .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: .tag/tinyfile .tag/obj impossible; can only pick a commit or save, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/tinyfile', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/tinyfile .tag/obj
.tag/tinyfile
updated b'refs/tags/obj' (b'7c465afc533f95ff7d2c91e18921f94aac8292fc')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--pick', (b'.tag/tinyfile', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' .tag/tinyfile .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: .tag/tinyfile .tag/obj impossible; can only pick a commit or save, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/tree-1', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/tree-1 .tag/obj
.tag/tree-1/
updated b'refs/tags/obj' (b'bc27211917a05da0e1830d463accd36aeec063eb')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--pick', (b'.tag/tinyfile', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' .tag/tinyfile .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: .tag/tinyfile .tag/obj impossible; can only pick a commit or save, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/commit-1', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/commit-1 .tag/obj
.tag/commit-1/
updated b'refs/tags/obj' (b'c6d44b4de31cf8df02de357a6b13e1ceaafc96e3')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--pick', (b'.tag/tinyfile', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' .tag/tinyfile .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: .tag/tinyfile .tag/obj impossible; can only pick a commit or save, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/commit-1', b'obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/commit-1 obj
.tag/commit-1/
updated b'refs/heads/obj' (b'c6d44b4de31cf8df02de357a6b13e1ceaafc96e3')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--pick', (b'.tag/tinyfile', b'obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' .tag/tinyfile obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: .tag/tinyfile obj impossible; can only pick a commit or save, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--pick', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file', b'obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file obj impossible; can only pick a commit or save, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--pick', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file .tag/obj impossible; can only pick a commit or save, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/tinyfile', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/tinyfile .tag/obj
.tag/tinyfile
updated b'refs/tags/obj' (b'7c465afc533f95ff7d2c91e18921f94aac8292fc')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--pick', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file .tag/obj impossible; can only pick a commit or save, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/tree-1', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/tree-1 .tag/obj
.tag/tree-1/
updated b'refs/tags/obj' (b'bc27211917a05da0e1830d463accd36aeec063eb')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--pick', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file .tag/obj impossible; can only pick a commit or save, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/commit-1', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/commit-1 .tag/obj
.tag/commit-1/
updated b'refs/tags/obj' (b'c6d44b4de31cf8df02de357a6b13e1ceaafc96e3')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--pick', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file .tag/obj impossible; can only pick a commit or save, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/commit-1', b'obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/commit-1 obj
.tag/commit-1/
updated b'refs/heads/obj' (b'c6d44b4de31cf8df02de357a6b13e1ceaafc96e3')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--pick', (b'src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file', b'obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: src/latest/tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/src/tiny-file obj impossible; can only pick a commit or save, not blob
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--pick', (b'src', b'obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' src obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: src obj impossible; can only pick a commit or save, not branch
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--pick', (b'src', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' src .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: src .tag/obj impossible; can only pick a commit or save, not branch
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/tinyfile', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/tinyfile .tag/obj
.tag/tinyfile
updated b'refs/tags/obj' (b'7c465afc533f95ff7d2c91e18921f94aac8292fc')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--pick', (b'src', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' src .tag/obj
usage: bup get [-s source] [-r remote] (<--ff|--append|...> REF
[DEST])...

Transfer data from a source repository to a destination repository
according to the methods specified (--ff, --ff:, --append, etc.).
Both repositories default to BUP_DIR. A remote destination may be
specified with -r, and data may be pulled from a remote repository
with the related "bup on HOST get ..." command.

optional arguments:
-h, --help
show this help message and exit
-v, --verbose
increase log output (can be specified more than once)
-q, --quiet
don't show progress meter
-s SOURCE, --source SOURCE
path to the source repository (defaults to BUP_DIR)
-r REMOTE, --remote REMOTE
hostname:/path/to/repo of remote destination repository
-t --print-trees
output a tree id for each ref set
-c, --print-commits
output a commit id for each ref set
--print-tags
output an id for each tag
--bwlimit BWLIMIT
maximum bytes/sec to transmit to server
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9, --compress LEVEL
set compression LEVEL (default: 1)

transfer methods:
--ff REF, --ff: REF DEST
fast-forward dest REF (or DEST) to match source REF
--append REF, --append: REF DEST
append REF (treeish or committish) to dest REF (or DEST)
--pick REF, --pick: REF DEST
append single source REF commit to dest REF (or DEST)
--force-pick REF, --force-pick: REF DEST
--pick, overwriting REF (or DEST)
--new-tag REF, --new-tag: REF DEST
tag source ref REF as REF (or DEST) in dest unless it already
exists
--replace, --replace: REF DEST
overwrite REF (or DEST) in dest with source REF
--unnamed REF
fetch REF anonymously (without destination ref)

error: --pick: src .tag/obj impossible; can only pick a commit or save, not branch
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/ext-test_get-py-test_getru3a8dsr/get-dest/
run_get: ('get-on', b'--replace', (b'.tag/tree-1', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--replace:' .tag/tree-1 .tag/obj
.tag/tree-1/
updated b'refs/tags/obj' (b'bc27211917a05da0e1830d463accd36aeec063eb')
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
run_get: ('get-on', b'--pick', (b'src', b'.tag/obj'))
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest on - get -vvct --print-tags -s get-src '--pick:' src .tag/obj
/tmp/shai-build-trees/bup-79964/lib/cmd/bup -d get-dest fsck
------------------------------------------------------- Captured stderr teardown -------------------------------------------------------

Preserving: b'test/tmp/ext-test_get-py-test_getru3a8dsr'
======================================================= short test summary info ========================================================
FAILED test/ext/test_get.py::test_get[get-on-ff] - AssertionError: rx b'must be a branch, save, or commit' matches b''
FAILED test/ext/test_get.py::test_get[get-on-pick_force] - AssertionError: rx b'can only pick a commit or save' matches b''
FAILED test/ext/test_get.py::test_get[get-on-pick_noforce] - AssertionError: rx b'impossible; can only pick a commit or save' matches b''
================================= 3 failed, 141 passed, 7 skipped, 1 deselected in 2309.66s (0:38:29) ==================================

--
NULL && (void)

Nix

unread,
Jul 30, 2025, 11:56:23 AMJul 30
to bup-...@googlegroups.com
On 30 Jul 2025, n...@esperi.org.uk uttered the following:

> So I was upgrading the system Python on my random LFS box from 3.12.7 to
> 3.13.5, and doing a bup-and-dependencies upgrade as part of that, from
> 0.33.3 to 0.33.7. Doing a pytest before installation (so, there was a
> bup on the system, but it was in /usr/lib/python3.12, not being used by
> any installed Python) hit me with a bunch of get-on failures.
>
> Installing the new bup made these errors go away, so I guess the
> lingering /usr/bin/bup was somehow getting involved despite the attempts
> to stop it, and/or the system /usr/lib/bup, or something.
>
> (Installed git: 2.48.1.)

Another fun one. If your build directory is a symlink, cd'ing into that
symlink and then running pytest triggers a test failure, where cd'ing
into the resolved value of the symlink does not: (note the difference
between /tmp/shai-build-trees/... below and /usr/src/bup/x86_64-silk:
the latter is a symlink to the former.)

I suspect this is too stupid a problem to bother fixing :) it's my
setup, dammit!

--------------------------------------------------------- Captured stdout call ---------------------------------------------------------
! /tmp/shai-build-trees/bup-79964/test/ext/test-compression:7 pwd ok
! /tmp/shai-build-trees/bup-79964/test/ext/test-compression:8 wvmktempdir ok

Testing "compression" in /tmp/shai-build-trees/bup-79964/test/ext/test-compression:
! /tmp/shai-build-trees/bup-79964/test/ext/test-compression:17 cd /tmp/shai-build-trees/bup-79964/test/tmp/test-compression-IIz3BaP ok
! /tmp/shai-build-trees/bup-79964/test/ext/test-compression:20 force-delete /tmp/shai-build-trees/bup-79964/test/tmp/test-compression-IIz3BaP/bup ok
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty shared Git repository in /tmp/shai-build-trees/bup-79964/test/tmp/test-compression-IIz3BaP/bup/
! /tmp/shai-build-trees/bup-79964/test/ext/test-compression:21 bup init ok
! /tmp/shai-build-trees/bup-79964/test/ext/test-compression:22 mkdir compression0.tmp ok
! /tmp/shai-build-trees/bup-79964/test/ext/test-compression:23 bup index /usr/src/bup/x86_64-silk/Documentation ok
! /tmp/shai-build-trees/bup-79964/test/ext/test-compression:24 bup save -n compression -0 --strip /usr/src/bup/x86_64-silk/Documentation ok
! /tmp/shai-build-trees/bup-79964/test/ext/test-compression:26 ls -A /usr/src/bup/x86_64-silk/Documentation ok
! /tmp/shai-build-trees/bup-79964/test/ext/test-compression:26 sort ok
! /tmp/shai-build-trees/bup-79964/test/ext/test-compression:27 bup ls -A compression/latest/ ok
! /tmp/shai-build-trees/bup-79964/test/ext/test-compression:27 sort ok
! /tmp/shai-build-trees/bup-79964/test/ext/test-compression:28 exactly 2 arguments ok
Comparing:
tmp
--
.docs-available
bup-bloom.1
bup-bloom.1.html
bup-bloom.1.md
bup-cat-file.1
bup-cat-file.1.html
bup-cat-file.1.md
bup-config.5
bup-config.5.html
bup-config.5.md
bup-daemon.1
bup-daemon.1.html
bup-daemon.1.md
bup-damage.1
bup-damage.1.html
bup-damage.1.md
bup-drecurse.1
bup-drecurse.1.html
bup-drecurse.1.md
bup-features.1
bup-features.1.html
bup-features.1.md
bup-fsck.1
bup-fsck.1.html
bup-fsck.1.md
bup-ftp.1
bup-ftp.1.html
bup-ftp.1.md
bup-fuse.1
bup-fuse.1.html
bup-fuse.1.md
bup-gc.1
bup-gc.1.html
bup-gc.1.md
bup-get.1
bup-get.1.html
bup-get.1.md
bup-help.1
bup-help.1.html
bup-help.1.md
bup-import-duplicity.1
bup-import-duplicity.1.html
bup-import-duplicity.1.md
bup-import-rdiff-backup.1
bup-import-rdiff-backup.1.html
bup-import-rdiff-backup.1.md
bup-import-rsnapshot.1
bup-import-rsnapshot.1.html
bup-import-rsnapshot.1.md
bup-index.1
bup-index.1.html
bup-index.1.md
bup-init.1
bup-init.1.html
bup-init.1.md
bup-join.1
bup-join.1.html
bup-join.1.md
bup-ls.1
bup-ls.1.html
bup-ls.1.md
bup-margin.1
bup-margin.1.html
bup-margin.1.md
bup-memtest.1
bup-memtest.1.html
bup-memtest.1.md
bup-meta.1
bup-meta.1.html
bup-meta.1.md
bup-midx.1
bup-midx.1.html
bup-midx.1.md
bup-mux.1
bup-mux.1.html
bup-mux.1.md
bup-on.1
bup-on.1.html
bup-on.1.md
bup-prune-older.1
bup-prune-older.1.html
bup-prune-older.1.md
bup-random.1
bup-random.1.html
bup-random.1.md
bup-restore.1
bup-restore.1.html
bup-restore.1.md
bup-rm.1
bup-rm.1.html
bup-rm.1.md
bup-save.1
bup-save.1.html
bup-save.1.md
bup-server.1
bup-server.1.html
bup-server.1.md
bup-split.1
bup-split.1.html
bup-split.1.md
bup-tag.1
bup-tag.1.html
bup-tag.1.md
bup-tick.1
bup-tick.1.html
bup-tick.1.md
bup-validate-object-links.1
bup-validate-object-links.1.html
bup-validate-object-links.1.md
bup-validate-ref-links.1
bup-validate-ref-links.1.html
bup-validate-ref-links.1.md
bup-web.1
bup-web.1.html
bup-web.1.md
bup.1
bup.1.html
bup.1.md
substvars
! /tmp/shai-build-trees/bup-79964/test/ext/test-compression:28 'tmp' = '.docs-available bup-bloom.1 bup-bloom.1.html bup-bloom.1.md bup-cat-file.1 bup-cat-file.1.html bup-cat-file.1.md bup-config.5 bup-config.5.html bup-config.5.md bup-daemon.1 bup-daemon.1.html bup-daemon.1.md bup-damage.1 bup-damage.1.html bup-damage.1.md bup-drecurse.1 bup-drecurse.1.html bup-drecurse.1.md bup-features.1 bup-features.1.html bup-features.1.md bup-fsck.1 bup-fsck.1.html bup-fsck.1.md bup-ftp.1 bup-ftp.1.html bup-ftp.1.md bup-fuse.1 bup-fuse.1.html bup-fuse.1.md bup-gc.1 bup-gc.1.html bup-gc.1.md bup-get.1 bup-get.1.html bup-get.1.md bup-help.1 bup-help.1.html bup-help.1.md bup-import-duplicity.1 bup-import-duplicity.1.html bup-import-duplicity.1.md bup-import-rdiff-backup.1 bup-import-rdiff-backup.1.html bup-import-rdiff-backup.1.md bup-import-rsnapshot.1 bup-import-rsnapshot.1.html bup-import-rsnapshot.1.md bup-index.1 bup-index.1.html bup-index.1.md bup-init.1 bup-init.1.html bup-init.1.md bup-join.1 bup-join.1.html bup-join.1.md bup-ls.1 bup-ls.1.html bup-ls.1.md bup-margin.1 bup-margin.1.html bup-margin.1.md bup-memtest.1 bup-memtest.1.html bup-memtest.1.md bup-meta.1 bup-meta.1.html bup-meta.1.md bup-midx.1 bup-midx.1.html bup-midx.1.md bup-mux.1 bup-mux.1.html bup-mux.1.md bup-on.1 bup-on.1.html bup-on.1.md bup-prune-older.1 bup-prune-older.1.html bup-prune-older.1.md bup-random.1 bup-random.1.html bup-random.1.md bup-restore.1 bup-restore.1.html bup-restore.1.md bup-rm.1 bup-rm.1.html bup-rm.1.md bup-save.1 bup-save.1.html bup-save.1.md bup-server.1 bup-server.1.html bup-server.1.md bup-split.1 bup-split.1.html bup-split.1.md bup-tag.1 bup-tag.1.html bup-tag.1.md bup-tick.1 bup-tick.1.html bup-tick.1.md bup-validate-object-links.1 bup-validate-object-links.1.html bup-validate-object-links.1.md bup-validate-ref-links.1 bup-validate-ref-links.1.html bup-validate-ref-links.1.md bup-web.1 bup-web.1.html bup-web.1.md bup.1 bup.1.html bup.1.md substvars' FAILED
called from /tmp/shai-build-trees/bup-79964/test/ext/test-compression:28 WVPASSEQ tmp .docs-available
bup-bloom.1
bup-bloom.1.html
bup-bloom.1.md
bup-cat-file.1
bup-cat-file.1.html
bup-cat-file.1.md
bup-config.5
bup-config.5.html
bup-config.5.md
bup-daemon.1
bup-daemon.1.html
bup-daemon.1.md
bup-damage.1
bup-damage.1.html
bup-damage.1.md
bup-drecurse.1
bup-drecurse.1.html
bup-drecurse.1.md
bup-features.1
bup-features.1.html
bup-features.1.md
bup-fsck.1
bup-fsck.1.html
bup-fsck.1.md
bup-ftp.1
bup-ftp.1.html
bup-ftp.1.md
bup-fuse.1
bup-fuse.1.html
bup-fuse.1.md
bup-gc.1
bup-gc.1.html
bup-gc.1.md
bup-get.1
bup-get.1.html
bup-get.1.md
bup-help.1
bup-help.1.html
bup-help.1.md
bup-import-duplicity.1
bup-import-duplicity.1.html
bup-import-duplicity.1.md
bup-import-rdiff-backup.1
bup-import-rdiff-backup.1.html
bup-import-rdiff-backup.1.md
bup-import-rsnapshot.1
bup-import-rsnapshot.1.html
bup-import-rsnapshot.1.md
bup-index.1
bup-index.1.html
bup-index.1.md
bup-init.1
bup-init.1.html
bup-init.1.md
bup-join.1
bup-join.1.html
bup-join.1.md
bup-ls.1
bup-ls.1.html
bup-ls.1.md
bup-margin.1
bup-margin.1.html
bup-margin.1.md
bup-memtest.1
bup-memtest.1.html
bup-memtest.1.md
bup-meta.1
bup-meta.1.html
bup-meta.1.md
bup-midx.1
bup-midx.1.html
bup-midx.1.md
bup-mux.1
bup-mux.1.html
bup-mux.1.md
bup-on.1
bup-on.1.html
bup-on.1.md
bup-prune-older.1
bup-prune-older.1.html
bup-prune-older.1.md
bup-random.1
bup-random.1.html
bup-random.1.md
bup-restore.1
bup-restore.1.html
bup-restore.1.md
bup-rm.1
bup-rm.1.html
bup-rm.1.md
bup-save.1
bup-save.1.html
bup-save.1.md
bup-server.1
bup-server.1.html
bup-server.1.md
bup-split.1
bup-split.1.html
bup-split.1.md
bup-tag.1
bup-tag.1.html
bup-tag.1.md
bup-tick.1
bup-tick.1.html
bup-tick.1.md
bup-validate-object-links.1
bup-validate-object-links.1.html
bup-validate-object-links.1.md
bup-validate-ref-links.1
bup-validate-ref-links.1.html
bup-validate-ref-links.1.md
bup-web.1
bup-web.1.html
bup-web.1.md
bup.1
bup.1.html
bup.1.md
substvars
======================================================= short test summary info ========================================================
FAILED test/ext/test-compression::
================================= 1 failed, 143 passed, 7 skipped, 1 deselected in 1885.85s (0:31:25) ==================================


--
NULL && (void)

Johannes Berg

unread,
Jul 30, 2025, 12:00:03 PMJul 30
to Nix, bup-...@googlegroups.com
On Wed, 2025-07-30 at 16:56 +0100, Nix wrote:
> On 30 Jul 2025, n...@esperi.org.uk uttered the following:
>
> > So I was upgrading the system Python on my random LFS box from 3.12.7 to
> > 3.13.5, and doing a bup-and-dependencies upgrade as part of that, from
> > 0.33.3 to 0.33.7. Doing a pytest before installation (so, there was a
> > bup on the system, but it was in /usr/lib/python3.12, not being used by
> > any installed Python) hit me with a bunch of get-on failures.
> >
> > Installing the new bup made these errors go away, so I guess the
> > lingering /usr/bin/bup was somehow getting involved despite the attempts
> > to stop it, and/or the system /usr/lib/bup, or something.
> >
> > (Installed git: 2.48.1.)
>
> Another fun one. If your build directory is a symlink, cd'ing into that
> symlink and then running pytest triggers a test failure, where cd'ing
> into the resolved value of the symlink does not: (note the difference
> between /tmp/shai-build-trees/... below and /usr/src/bup/x86_64-silk:
> the latter is a symlink to the former.)
>
> I suspect this is too stupid a problem to bother fixing :) it's my
> setup, dammit!

I think we fixed it in main ;-)

https://github.com/bup/bup/commit/bfcb3c4a7c49bb04cb57f8d6a1d1fd8987a45478

johannes

Nix

unread,
Aug 26, 2025, 3:17:23 PMAug 26
to Johannes Berg, bup-...@googlegroups.com
On 30 Jul 2025, Johannes Berg verbalised:
Oof, I didn't think to test main. Sorry for the noise!

--
NULL && (void)
Reply all
Reply to author
Forward
0 new messages