File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,13 @@ $ pip install --user --upgrade --pre libvcs
15
15
16
16
<!-- Maintainers, insert changes / features for the next release here -->
17
17
18
+ ### Breaking changes
19
+
20
+ #### cmd: Listing method renamed (#466 )
21
+
22
+ - ` libvcs.cmd.git.GitCmd._list() ` -> ` libvcs.cmd.git.Git.ls() `
23
+ - ` libvcs.cmd.svn.Svn._list() ` -> ` libvcs.cmd.svn.Svn.ls() `
24
+
18
25
## libvcs 0.30.1 (2024-06-18)
19
26
20
27
### Bug Fixes
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ _Notes on the upcoming release will be added here_
24
24
25
25
<!-- Maintainers, insert migration notes for the next release here -->
26
26
27
+ #### Commands: Listing method renamed (#466 )
28
+
29
+ - ` libvcs.cmd.git.GitCmd._list() ` -> ` libvcs.cmd.git.Git.ls() `
30
+ - ` libvcs.cmd.svn.Svn._list() ` -> ` libvcs.cmd.svn.Svn.ls() `
31
+
27
32
## libvcs 0.30.0 (2024-06-18)
28
33
29
34
### URLs: Variable renamings and moves (#463 )
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def __init__(
66
66
>>> git.remote.show()
67
67
'origin'
68
68
69
- >>> git.stash._list ()
69
+ >>> git.stash.ls ()
70
70
''
71
71
"""
72
72
#: Directory to check out
@@ -2791,7 +2791,7 @@ def run(
2791
2791
log_in_real_time = log_in_real_time ,
2792
2792
)
2793
2793
2794
- def _list (
2794
+ def ls (
2795
2795
self ,
2796
2796
* ,
2797
2797
# Pass-through to run()
@@ -2802,7 +2802,7 @@ def _list(
2802
2802
2803
2803
Examples
2804
2804
--------
2805
- >>> GitStashCmd(path=git_local_clone.path)._list ()
2805
+ >>> GitStashCmd(path=git_local_clone.path).ls ()
2806
2806
''
2807
2807
"""
2808
2808
return self .run (
Original file line number Diff line number Diff line change @@ -611,7 +611,7 @@ def info(
611
611
612
612
return self .run (["info" , * local_flags ])
613
613
614
- def _list (self , * args : Any , ** kwargs : Any ) -> str :
614
+ def ls (self , * args : Any , ** kwargs : Any ) -> str :
615
615
"""List files in SVN repository (without downloading them).
616
616
617
617
Wraps `svn list
You can’t perform that action at this time.
0 commit comments