News for hackers. Stuff that matters.
Re:Ask HN: What is the first thing you implement at a new co... by aetherspawn on Wednesday June 20, 2018 @07:12AM (#17354251)
SVN is really heavyweight for branches and tags. It used to take like a minute to branch with SVN but when we swapped to git it took like less than a blink.

Also —rebase is way better than merge. I haven’t had to merge git for over 6 months but with SVN I was doing it twice daily, at least.

Re:Ask HN: What is the first thing you implement at a new co... by vijucat on Wednesday June 20, 2018 @08:15AM (#17354620)
If you use a repository URL rather than a local filename / dirname in svn copy, it's a purely remote copy and is instantaneous:

$ svn copy file:///var/svn/repos/test/dir1 \ file:///var/svn/repos/test/dir1_jira_1886 -m "For bugfix to SERV-1886"

http://svnbook.red-bean.com/en/1.7/svn.branchmerge.using.htm...

https://svnvsgit.com/

Re:Ask HN: What is the first thing you implement at a new co... by aetherspawn on Wednesday June 20, 2018 @08:32AM (#17354735)
Most of our team just used Tortoise SVN and the right click -> branch explorer integration. We definitely were not pros at source control.
Re:Ask HN: What is the first thing you implement at a new co... by vijucat on Thursday June 21, 2018 @08:38AM (#17364515)
Ah, I see! Tortoise SVN is great for the scenario where business users can learn and use revision control, too, but I guess once you're doing branching using Tortoise SVN, you're in a weird territory where you're pro, but not to the extent you're ready to use the command line...
Re:Ask HN: What is the first thing you implement at a new co... by isostatic on Wednesday June 20, 2018 @08:18AM (#17354643)
We used to have a large (>20GB) svn repository, I never noticed tags (which was part of the build process) taking any time, certainly sub-second.

However the branching process in svn is a right pain, if you work in branches. Depends on what your code is if you need the overhead and risk of branches I guess.

Re:Ask HN: What is the first thing you implement at a new co... by xorcist on Wednesday June 20, 2018 @01:50PM (#17357761)
That's because svn merge is much closer to what a git rebase is than what a git merge is.