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
1515
1616<!-- Maintainers, insert changes / features for the next release here -->
1717
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+
1825## libvcs 0.30.1 (2024-06-18)
1926
2027### 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_
2424
2525<!-- Maintainers, insert migration notes for the next release here -->
2626
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+
2732## libvcs 0.30.0 (2024-06-18)
2833
2934### URLs: Variable renamings and moves (#463 )
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def __init__(
6666 >>> git.remote.show()
6767 'origin'
6868
69- >>> git.stash._list ()
69+ >>> git.stash.ls ()
7070 ''
7171 """
7272 #: Directory to check out
@@ -2791,7 +2791,7 @@ def run(
27912791 log_in_real_time = log_in_real_time ,
27922792 )
27932793
2794- def _list (
2794+ def ls (
27952795 self ,
27962796 * ,
27972797 # Pass-through to run()
@@ -2802,7 +2802,7 @@ def _list(
28022802
28032803 Examples
28042804 --------
2805- >>> GitStashCmd(path=git_local_clone.path)._list ()
2805+ >>> GitStashCmd(path=git_local_clone.path).ls ()
28062806 ''
28072807 """
28082808 return self .run (
Original file line number Diff line number Diff line change @@ -611,7 +611,7 @@ def info(
611611
612612 return self .run (["info" , * local_flags ])
613613
614- def _list (self , * args : Any , ** kwargs : Any ) -> str :
614+ def ls (self , * args : Any , ** kwargs : Any ) -> str :
615615 """List files in SVN repository (without downloading them).
616616
617617 Wraps `svn list
You can’t perform that action at this time.
0 commit comments