@@ -15,19 +15,21 @@ $ pip install --user --upgrade --pre libvcs
15
15
16
16
### Breaking
17
17
18
- - ` GitRepo ` , ` SVNRepo ` , ` MercurialRepo ` , ` BaseRepo ` have been moved to
19
- ` libvcs.projects.{module}.{Module}Repo `
18
+ - ` GitRepo ` , ` SVNRepo ` , ` MercurialRepo ` , ` BaseRepo ` have been renamed to
19
+ ` GitProject ` , ` SVNProject ` , ` MercurialProject ` , ` BaseProject ` ({issue}` #327 ` )
20
+ - ` GitProject ` , ` SVNProject ` , ` MercurialProject ` , ` BaseProject ` have been moved to
21
+ ` libvcs.projects.{module}.{Module}Project `
20
22
- ` repo_dir ` param is renamed to ` dir ` :
21
23
22
- Before: ` GitRepo (url='...', repo_dir='...')`
24
+ Before: ` GitProject (url='...', repo_dir='...')`
23
25
24
- After: ` GitRepo (url='...', dir='...')`
26
+ After: ` GitProject (url='...', dir='...')`
25
27
26
28
{issue}` #324 `
27
29
28
- - ` dir ` to ` pathlib ` , ` BaseRepo .path` -> ` BaseRepo .dir`
29
- - Logging functions moved to {attr}` libvcs.projects.base.BaseRepo .log ` ({issue}` #322 ` )
30
- - Rename ` RepoLoggingAdapter ` to ` CmdLoggingAdapter `
30
+ - ` dir ` to ` pathlib ` , ` BaseProject .path` -> ` BaseProject .dir`
31
+ - Logging functions moved to {attr}` libvcs.projects.base.BaseProject .log ` ({issue}` #322 ` )
32
+ - Rename ` ProjectLoggingAdapter ` to ` CmdLoggingAdapter `
31
33
- ` CmdLoggingAdapter ` : Rename ` repo_name ` param to ` keyword `
32
34
33
35
### What's new
@@ -51,10 +53,10 @@ $ pip install --user --upgrade --pre libvcs
51
53
- {meth}` libvcs.cmd.hg.Hg.run `
52
54
- {meth}` libvcs.cmd.hg.Hg.clone `
53
55
54
- - {class}` libvcs.projects.git.GitRepo ` now accepts remotes in ` __init__ `
56
+ - {class}` libvcs.projects.git.GitProject ` now accepts remotes in ` __init__ `
55
57
56
58
``` python
57
- repo = GitRepo (
59
+ repo = GitProject (
58
60
url = " https://github.com/vcs-python/libvcs" ,
59
61
repo_dir = checkout,
60
62
remotes = {
@@ -64,7 +66,7 @@ $ pip install --user --upgrade --pre libvcs
64
66
```
65
67
66
68
``` python
67
- repo = GitRepo (
69
+ repo = GitProject (
68
70
url = " https://github.com/vcs-python/libvcs" ,
69
71
repo_dir = checkout,
70
72
remotes = {
@@ -76,7 +78,7 @@ $ pip install --user --upgrade --pre libvcs
76
78
)
77
79
```
78
80
79
- - {meth}` libvcs.projects.git.GitRepo .update_repo ` now accepts ` set_remotes=True `
81
+ - {meth}` libvcs.projects.git.GitProject .update_repo ` now accepts ` set_remotes=True `
80
82
81
83
### Compatibility
82
84
0 commit comments