I’m also curious to know why. I’ve used SVN for years, and I got the biggest relief when git or Mercurial appeared.
Comment on GitHub-like WebUI for Subversion
agressivelyPassive@feddit.de 6 months ago
The clear answer is: don’t use subversion. There’s really no reason not to use git, since you can use git just like subversion if you want to.
best_username_ever@sh.itjust.works 6 months ago
I_Am_Jacks_____@lemmings.world 6 months ago
One thing I like about SVN that, at least in the past, was not easy with Git is checking out sub directories.
One thing I do is check out svn+ssh://svn/home/svn/configs/server/etc and copy the .svn file over to /etc so that I can check in changes from the actual directory on my servers at home. I never found a good way to do that on Git. But, admittedly, I haven’t looked in a couple years.
savedbythezsh@sh.itjust.works 6 months ago
You mean like
git sparse-checkout
? Admittedly experimental but usefulI_Am_Jacks_____@lemmings.world 6 months ago
Yeah. SVN’s ability to do that is not experimental. I’m hoping that they make that feature much easier
cygon@lemmy.world 6 months ago
I’m already using Git for source code related versioning, but some use cases involving large binary files with partial updates isn’t well covered by Git (I’ve gone into some detail in my reply to @vvv@programming.dev).
There’s also the lack of
svn:externals
in Git. Git submodules can only point to a whole different repository as far as I’m aware.wildbus8979@sh.itjust.works 6 months ago
What you’re looking for is git-annex
cygon@lemmy.world 6 months ago
That would (just like Git LFS) store full, separate copies of every single version of the large files I manage. I really, really don’t want to go there, nor do I have even a fraction of the hard drive space for that…
lemmyvore@feddit.nl 6 months ago
Doesn’t it store deduplicated chunks?
wildbus8979@sh.itjust.works 6 months ago
Also for externals see: stackoverflow.com/questions/571232/…/18088319#180…
cygon@lemmy.world 6 months ago
That’s what I meant when I wrote “Git submodules can only point to a whole different repository” - they can’t point to a path inside a repository, only to another repository root. That unfortunately renders them useless for me (I’d have to set up in the order of hundreds of small repositories for the sets of shared data I have).
wildbus8979@sh.itjust.works 6 months ago
Sounds like your problem could easily be solved with a symlink…
MeanEYE@lemmy.world 6 months ago
While true, Git also supports symlinks, so nothing is stopping you from having
modules/
directory or something similar and then in link part of it elsewhere in your project.