]> arthur.barton.de Git - bup.git/commit
git/client/server: remove rev_list() count support
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 28 Jan 2020 23:21:01 +0000 (00:21 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 1 Mar 2020 22:54:07 +0000 (16:54 -0600)
commit89cd30c0d82c2b71e6fe14de7ad210f635b38f91
treec2067c04acf7eb9d75d99ae3a21c8cf62a73215b
parent7e7f0b0a577cec842e48ab9294226a86929a53e0
git/client/server: remove rev_list() count support

This is obviously not used, as passing count!=None would
crash the client method (client.py doesn't import Integral).
Rather than fixing that, just remove support for it entirely.

While at it, also clean up a duplicate rev_list_invocation()
call in the server.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
cmd/server-cmd.py
lib/bup/client.py
lib/bup/git.py