summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7e1f05f)
This was ignored by the existing tests because there was no tty.
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
"""Common code for listing files from a bup repository."""
"""Common code for listing files from a bup repository."""
-import copy, os.path, stat, xstat
+import copy, os.path, stat, sys, xstat
from bup import metadata, options, vfs
from bup import metadata, options, vfs
-from helpers import istty1, log
+from helpers import columnate, istty1, log
+(export BUP_FORCE_TTY=1; WVPASSEQ "$(WVPASS bup ls | tr -d ' ')" src)
+
WVPASSEQ "$(WVPASS bup ls /)" "src"
WVPASSEQ "$(WVPASS bup ls -A /)" ".commit
WVPASSEQ "$(WVPASS bup ls /)" "src"
WVPASSEQ "$(WVPASS bup ls -A /)" ".commit