-
Committer:
Sandy Carter
-
Date:
2014-04-14 14:37:16 UTC
-
Revision ID:
sandy.carter@savoirfairelinux.com-20140414143716-ihoa8zasylweayvn
Function to list contents of local or remote bzr repository
Given a path, return a list of tracked files in bzr using code for `bzr ls`
Give the list of files without checking out. Useful for scanning launchpad
repos.
Example usgae:
>>>> lp.list_bzr_repo('lp-community-utils')
['lp:lp-community-utils/README.rst',
'lp:lp-community-utils/checkout-flake8.sh',
'lp:lp-community-utils/clone_mp_to_community.py',
'lp:lp-community-utils/merge_mp.py',
'lp:lp-community-utils/openerp-nag',
'lp:lp-community-utils/projects',
'lp:lp-community-utils/replay_missing.py']
May be expanded to support revnos and other flags. The cmd_ls.run() function
signature has the following arguments:
revision
verbose
recursive
from_root
unknown
versioned
ignored
null
kind
show_ids
path
directory
Currently, only path is used.