Nix
unread,Jul 30, 2025, 11:38:04 AMJul 30Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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)