r/programming • u/member42 • Nov 16 '13
What does SVN do better than git?
http://programmers.stackexchange.com/questions/111633/what-does-svn-do-better-than-git
604
Upvotes
r/programming • u/member42 • Nov 16 '13
View all comments
Show parent comment
3
u/[deleted] Nov 16 '13
You have to
svnadmin dump/filter/loadwhen you want to modify a SVN history, it's ugly and messy and generally only done when major accidents happens, as only the admin with file system access can do it, normal users can't.The problem with Git by contrast is that it's extremely easy to lose history, it's not even an accident the normal workflow in Git is based on rewriting and throwing away (local) history all the time. It's all nice and cool to have a clean public repository, but it irks me to no end that my local repository has to get constantly trashed due to that. I really wish there would be something like a hierachical commit system or something, where you have one huge commit that adds a feature and then all the little commits that build up the feature.
Another big issue I have with Git is that it doesn't even keep branches in the history. If you want to get rid of an old now obsolete branch, you can't just delete it, as deleting it would purge it permanently from the history. So you have to work around it by tag'ing it before deletion. It's error prone and annoying. And while reflog might help in accidents, it's really useless when it comes to archival.