
Step
- Donwload https://github.com/bozaro/git-as-svn/releases/download/1.1.1/git-as-svn_1.1.1.zip
- unzip git-as-svn_1.1.1.zip to /path/to/git-as-svn
- vi config.example , change cacheConfig.path
- svn co svn://localhost/example
- git clone file:///path/to/example.git
- gitclonedir: touch hello &&git add hello &&git commit -m "add hello" &&git push
- svndir: svn up .
- gitclonedir: git reset commitid
- example.git: git gc --pure=now
- svndir: svn up .
So We can known, When A developer use git-as-svn on Gitlab Services,Many developers use the same warehouse, in part using SVN, in part using git, the team also have a PR, over time, will most likely be a developer cannot use svn to access this repository.
Simple strategy:
Remove cache from mapdb, remove refs on repository,after reload cache
Step
So We can known, When A developer use git-as-svn on Gitlab Services,Many developers use the same warehouse, in part using SVN, in part using git, the team also have a PR, over time, will most likely be a developer cannot use svn to access this repository.
Simple strategy:
Remove cache from mapdb, remove refs on repository,after reload cache