New Posts  All Forums:Forum Nav:

SVN users - Page 3

post #21 of 24
I'd suggest looking at git-game if you want to learn CLI git (which you should honestly)
Footrest
(17 items)
 
server
(17 items)
 
HTPC
(12 items)
 
CPUMotherboardGraphicsRAM
2 x Xeon L5520 Supermicro X8DTL-i HD4550 Samsung 6x4GB ECC 
Hard DriveHard DriveCoolingOS
3 x 2TB WD Green 160GB WD Blue Hyper 212+ and EVO ESXi 
OSOSOSPower
unRaid pfSense Ubuntu CX430v2 
CaseOtherOther
CM Elite 331 TP-Link TG-3269 Sil3512 Sata controller 
CPUMotherboardRAMHard Drive
i3-2100T Asus P8H61-I Geil Black Dragon 1333 2x2GB PXE Network boot 
Optical DriveCoolingOSMonitor
OEM Slim DVD Burner Scythe Big-Shuriken OpenElec Panasonic TX-P42G30E 42" HDTV 
KeyboardCase
Lenovo n5901a Silverstone SG-05 
  hide details  
Reply
Footrest
(17 items)
 
server
(17 items)
 
HTPC
(12 items)
 
CPUMotherboardGraphicsRAM
2 x Xeon L5520 Supermicro X8DTL-i HD4550 Samsung 6x4GB ECC 
Hard DriveHard DriveCoolingOS
3 x 2TB WD Green 160GB WD Blue Hyper 212+ and EVO ESXi 
OSOSOSPower
unRaid pfSense Ubuntu CX430v2 
CaseOtherOther
CM Elite 331 TP-Link TG-3269 Sil3512 Sata controller 
CPUMotherboardRAMHard Drive
i3-2100T Asus P8H61-I Geil Black Dragon 1333 2x2GB PXE Network boot 
Optical DriveCoolingOSMonitor
OEM Slim DVD Burner Scythe Big-Shuriken OpenElec Panasonic TX-P42G30E 42" HDTV 
KeyboardCase
Lenovo n5901a Silverstone SG-05 
  hide details  
Reply
post #22 of 24
Quote:
Originally Posted by Avonosac View Post

It sounds like you didn't branch much if you thought subversion and merging were OK. As soon as 2 developers were working on the same file in different branches, or support, core maintenance and custom development got working on the same files it was a colossal waste of resources.

Git merges better, and branches better than any other VCS out there by leaps and bounds. The problem you seem to have is you're using a bad GUI tool to try to avoid learning git command line. This is kind of weird for me, because git command line is one of the main reasons its so powerful, you can easily include chunks and precisely manage commits. Not to mention all of the issues you were talking about with the tool were because the real actions being taken on your local copy were being obfuscated to you. Backing out of a merge should be trivial.
Code:
git checkout -b mergebranchname
git merge branchtobemerged
git checkout mainbranch
git merge mergebranchname

Errors in that process?
Code:
git branch -D mergebranchname

All backed out.

Really though, the problem is the basic premise of people who use git via tools like Tortoise .. they think its a plug and play replacement for SCM tools like SVN and use it as such, and you are shooting yourself in the foot because the real power of git is that it is a fundamental paradigm shift from the crappy way of doing VCS in SVN and older systems.

Large feature branches, version branches, code base version enhancements are all ridiculously easy using git compared to SVN.
Quote:
Originally Posted by Mrzev View Post

I have had too many bad experiences with GIT, but it is mainly because SourceTree is (IMO) garbage.
As i mentioned, my issue wasnt so much with GIT, but with the tool. CLI works great with simple things. I was in charge of the SVN at my previous job and we had 20 or so projects going, and each signed build (weekly) we would tag, and each major release we would branch. Using "Turtle" , it was EXTREAMLY easy for me to do the tagging, branching, even browsing of all the code. I could get the files, look at the history... everything was just easy. Merging is more dictated on the external tools.

What I didnt like about GIT was that there was 2 stages. You have your local repo, and the server repo, so i would need to commit then push. There is definitely some great use cases for doing stuff like that, but for me its just extra steps, and extra things that can go wrong IMO. There is a TON of great stuff in there, but it just over-complicates things most the time. One thing we wanted to do with SVN was gated check-ins based on automated test results. I heard it was possible with SVN with hooks or something, but I never got around doing it. I'm sure its not too hard to do with git because of the pull request stuff. If i was working on an open source project with a bunch of random people doing their own thing, GIT is the best option hands down.
Zev's Comp
(15 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-2500K Sandy Bridge 3.3GHz GIGABYTE GA-Z68X-UD3H-B3 LGA 1155 Intel Z68 HDM... GeForce GTX 750 Ti G.SKILL Ripjaws X Series 8GB 
Hard DriveHard DriveHard DrivePower
1TB HDD 64GB SSD (Used for SRT) 500 GB. Antec BP550 Plus 550W Continuous Power ATX12V V... 
Case
COOLER MASTER ELITE 335 RC-335-KKN1-GP Black S... 
  hide details  
Reply
Zev's Comp
(15 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-2500K Sandy Bridge 3.3GHz GIGABYTE GA-Z68X-UD3H-B3 LGA 1155 Intel Z68 HDM... GeForce GTX 750 Ti G.SKILL Ripjaws X Series 8GB 
Hard DriveHard DriveHard DrivePower
1TB HDD 64GB SSD (Used for SRT) 500 GB. Antec BP550 Plus 550W Continuous Power ATX12V V... 
Case
COOLER MASTER ELITE 335 RC-335-KKN1-GP Black S... 
  hide details  
Reply
post #23 of 24
Good ol xkcd. This was yesterdays =D
Zev's Comp
(15 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-2500K Sandy Bridge 3.3GHz GIGABYTE GA-Z68X-UD3H-B3 LGA 1155 Intel Z68 HDM... GeForce GTX 750 Ti G.SKILL Ripjaws X Series 8GB 
Hard DriveHard DriveHard DrivePower
1TB HDD 64GB SSD (Used for SRT) 500 GB. Antec BP550 Plus 550W Continuous Power ATX12V V... 
Case
COOLER MASTER ELITE 335 RC-335-KKN1-GP Black S... 
  hide details  
Reply
Zev's Comp
(15 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-2500K Sandy Bridge 3.3GHz GIGABYTE GA-Z68X-UD3H-B3 LGA 1155 Intel Z68 HDM... GeForce GTX 750 Ti G.SKILL Ripjaws X Series 8GB 
Hard DriveHard DriveHard DrivePower
1TB HDD 64GB SSD (Used for SRT) 500 GB. Antec BP550 Plus 550W Continuous Power ATX12V V... 
Case
COOLER MASTER ELITE 335 RC-335-KKN1-GP Black S... 
  hide details  
Reply
post #24 of 24
Quote:
Originally Posted by Mrzev View Post

What I didnt like about GIT was that there was 2 stages. You have your local repo, and the server repo, so i would need to commit then push. There is definitely some great use cases for doing stuff like that, but for me its just extra steps, and extra things that can go wrong IMO. There is a TON of great stuff in there, but it just over-complicates things most the time. One thing we wanted to do with SVN was gated check-ins based on automated test results. I heard it was possible with SVN with hooks or something, but I never got around doing it. I'm sure its not too hard to do with git because of the pull request stuff. If i was working on an open source project with a bunch of random people doing their own thing, GIT is the best option hands down.

I used to have this very same problem, but it's just the matter of getting how git actually works and trying not to use it as if it were SVN.

That's exactly the power of git, you can leave that kind of thought process behind. You can have multiple commits on your local repo, don't have to push everything at the time of making the commit. This let's you organize your changes better, maybe if you got in the flow and done more than just one logical change you can split your changes to multiple commits to have them better organized.

We do this all the time!
Footrest
(17 items)
 
server
(17 items)
 
HTPC
(12 items)
 
CPUMotherboardGraphicsRAM
2 x Xeon L5520 Supermicro X8DTL-i HD4550 Samsung 6x4GB ECC 
Hard DriveHard DriveCoolingOS
3 x 2TB WD Green 160GB WD Blue Hyper 212+ and EVO ESXi 
OSOSOSPower
unRaid pfSense Ubuntu CX430v2 
CaseOtherOther
CM Elite 331 TP-Link TG-3269 Sil3512 Sata controller 
CPUMotherboardRAMHard Drive
i3-2100T Asus P8H61-I Geil Black Dragon 1333 2x2GB PXE Network boot 
Optical DriveCoolingOSMonitor
OEM Slim DVD Burner Scythe Big-Shuriken OpenElec Panasonic TX-P42G30E 42" HDTV 
KeyboardCase
Lenovo n5901a Silverstone SG-05 
  hide details  
Reply
Footrest
(17 items)
 
server
(17 items)
 
HTPC
(12 items)
 
CPUMotherboardGraphicsRAM
2 x Xeon L5520 Supermicro X8DTL-i HD4550 Samsung 6x4GB ECC 
Hard DriveHard DriveCoolingOS
3 x 2TB WD Green 160GB WD Blue Hyper 212+ and EVO ESXi 
OSOSOSPower
unRaid pfSense Ubuntu CX430v2 
CaseOtherOther
CM Elite 331 TP-Link TG-3269 Sil3512 Sata controller 
CPUMotherboardRAMHard Drive
i3-2100T Asus P8H61-I Geil Black Dragon 1333 2x2GB PXE Network boot 
Optical DriveCoolingOSMonitor
OEM Slim DVD Burner Scythe Big-Shuriken OpenElec Panasonic TX-P42G30E 42" HDTV 
KeyboardCase
Lenovo n5901a Silverstone SG-05 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming