]> arthur.barton.de Git - bup.git/commit
bup: add support for "internal" subcommands
authorRob Browning <rlb@defaultvalue.org>
Wed, 2 Dec 2020 01:43:13 +0000 (19:43 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sat, 6 Mar 2021 18:17:15 +0000 (12:17 -0600)
commit5cbfbd1c79ce40811c5acb49cf29132f665885b8
treed7c701486ec9f7d08239d0f4365826192853dddb
parent3b052c63c93a95193447945296e7ec5db97f6b6e
bup: add support for "internal" subcommands

Look for the existing something-cmd.py commands as both
lib/cmd/bup-something and lib/bup/cmd/something.py, and don't load the
latter as a module unless specifically allowed, so that we can create
separate rename commits as we convert each relevant external command
to an internal command.  This should make it easier to see what
actually changed in the git history, e.g. with --ignore-space-change.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/cmd/bup