File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# ` libvcs ` · ; [ ![ Python Package] ( https://img.shields.io/pypi/v/libvcs.svg )] ( https://pypi.org/project/libvcs/ ) [ ![ License] ( https://img.shields.io/github/license/vcs-python/libvcs.svg )] ( https://github.com/vcs-python/libvcs/blob/master/LICENSE ) [ ![ Code Coverage] ( https://codecov.io/gh/vcs-python/libvcs/branch/master/graph/badge.svg )] ( https://codecov.io/gh/vcs-python/libvcs )
22
3- libvcs is an abstraction layer for vcs systems. powers
4- [ vcspull] ( https://www.github.com/vcs-python/vcspull/ ) .
3+ libvcs is a lite, [ typed ] ( https://docs.python.org/3/library/typing.html ) , pythonic wrapper for
4+ ` git ` , ` hg ` , and ` svn ` . Powers [ vcspull] ( https://www.github.com/vcs-python/vcspull/ ) .
55
66## Setup
77
@@ -39,8 +39,11 @@ to inspect / checkout / update:
3939... vcs = ' git' ,
4040... dir = ' /tmp/libtmux'
4141... )
42+ ```
43+
44+ Initialize via "pip-style URLs":
4245
43- # or via pip-style URL
46+ ``` python
4447>> > r = create_repo_from_pip_url(
4548... pip_url = ' git+https://www.github.com/vcs-python/libtmux' ,
4649... dir = ' /tmp/libtmux'
@@ -50,7 +53,6 @@ to inspect / checkout / update:
5053Update / clone repo:
5154
5255``` python
53- # it may or may not be checked out/cloned on the system yet
5456>> > r.update_repo()
5557```
5658
You can’t perform that action at this time.
0 commit comments