File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
# ` 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 )
2
2
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/ ) .
5
5
6
6
## Setup
7
7
@@ -39,8 +39,11 @@ to inspect / checkout / update:
39
39
... vcs = ' git' ,
40
40
... dir = ' /tmp/libtmux'
41
41
... )
42
+ ```
43
+
44
+ Initialize via "pip-style URLs":
42
45
43
- # or via pip-style URL
46
+ ``` python
44
47
>> > r = create_repo_from_pip_url(
45
48
... pip_url = ' git+https://www.github.com/vcs-python/libtmux' ,
46
49
... dir = ' /tmp/libtmux'
@@ -50,7 +53,6 @@ to inspect / checkout / update:
50
53
Update / clone repo:
51
54
52
55
``` python
53
- # it may or may not be checked out/cloned on the system yet
54
56
>> > r.update_repo()
55
57
```
56
58
You can’t perform that action at this time.
0 commit comments