Re:We are currently taking a DDoS attack and are working to ...
by rubyrescue on Saturday March 23, 2013 @10:55PM
(#5430884)
500MB branch in git - git checkout -b mybranch master == 500MB
500MB branch in svn - svn copy ... == 1GB
Re:We are currently taking a DDoS attack and are working to ...
by hp50g on Sunday March 24, 2013 @04:40AM
(#5431490)
Branches cost nothing in svn. I doubt you've used it. svn copy only appends a pointer back to the source rev, much as git does.
Re:We are currently taking a DDoS attack and are working to ...
by rubyrescue on Sunday March 24, 2013 @05:23PM
(#5433704)
i used to use them extensively. unless something has radically changed, they cost nothing in the svn repository but when you pull them down, you have multiple copies on disk which takes double the space because of the way a branch appears like a separate folder in your working copy. am i missing something?
Re:We are currently taking a DDoS attack and are working to ...
by hp50g on Monday March 25, 2013 @08:29AM
(#5436617)
Your working copy has a URL. You can switch it to another URL (a branch/tag) using "svn switch". It only transfers the differences between the two.
You can have two separate copies checked out, but you don't have to.
Re:We are currently taking a DDoS attack and are working to ...
by huherto on Monday March 25, 2013 @04:08PM
(#5439403)
It is interesting, I have heard several times the comment about svn branches being expensive. But, that is not true, they are checking out the whole branches directory!
Re:We are currently taking a DDoS attack and are working to ...
by huherto on Monday March 25, 2013 @04:07PM
(#5439393)
Are you checking out all the branches? I mean the actual branches subdirectory? If you do that, it is going to be expensive. But you shouldn't do that. Just checkout the trunk and switch to branches as needed.
Re:We are currently taking a DDoS attack and are working to ...
by zevyoura on Saturday March 23, 2013 @10:33PM
(#5430825)
You have to maintain a full copy of the file tree locally per branch, it's a pain that gets worse as your project size grows. With git, switching between branches is near instantaneous.
Re:We are currently taking a DDoS attack and are working to ...
by hp50g on Sunday March 24, 2013 @04:33AM
(#5431481)
It is in svn as well (200mb wc switch = 4 seconds).
Re:We are currently taking a DDoS attack and are working to ...
by banachtarski on Sunday March 24, 2013 @06:13PM
(#5434004)
sorry but that is a very long time. Branching is something I do dozens, if not hundreds, of times a day (creating, checking out, deleting, etc).
svn doesn't fit the sane modern workflow and everything it does can be done by git in a less painful manner. I think the only use case I can think of for svn is a very binary heavy repo that needs global locking.
http://stackoverflow.com/questions/2041/how-do-i-create-a-br...