libvcs icon indicating copy to clipboard operation
libvcs copied to clipboard

`GitRepo`, `MercurialRepo`, etc.: Mirror commands

Open tony opened this issue 3 years ago • 0 comments

GitRepo

  • [ ] clone
    • [ ] --template
    • [ ] --bare
    • [ ] --mirror
    • [ ] --no-hard-links
    • [ ] --recursive-submodules
    • .. etc
  • [ ] pull

Differences from GitPython:

  • libvcs.git.GitRepo vs https://gitpython.readthedocs.io/en/3.1.27/reference.html#git.repo.base.Repo.clone

    • libvcs will attempt to match git(1)'s commands flags closely as possible
    • explicit kwargs to make autocompletion easier
  • libvcs.git.GitRepo.progress_call is similar to https://gitpython.readthedocs.io/en/3.1.27/reference.html#git.repo.base.Repo.clone's process

tony avatar Mar 28 '22 11:03 tony