Parameters: | path – a local path to the worktree preferable a py.path.local instance |
---|
open a scm workdir
It uses the backend metadata to find the correct backend and won’t import unnecessary backends to keep the import time low
create a light checkout of the given source
create a heavy checkout/clone of the given source
Basic Workdir API
Parameters: |
|
---|
Parameters: |
|
---|
commits the given paths/files with the given commit message and author
extension of the workdir class to support parsing needs
return a mapping of name to cached states only necessary for messed up vcs’s
creates a list of vcs specific cache items only necessary by messed up vcs’s
in case of doubt - dont touch ^^
default implementation
for each item in items invoke:
self.parse_status_item(item, cache)
Note
a more complex parser might need to overwrite