Page 1 of 2

What svn clients do you mac users use?

Posted: Sat May 31, 2008 3:07 am
by matthijs
After looking at a few and testing some (among which svnx) I still haven't found a decent subversion client for the mac. After too much trouble using svnx I am now using the terminal. But trying to remember the commands, paths and retyping them again and again is getting on my nerves.

So what good GUI clients are there that I haven't found? At some point I was looking forward to the upcoming versionsapp by Sofa, but that has been "coming soon" for like 2 years now.

Re: What svn clients do you mac users use?

Posted: Sat May 31, 2008 3:12 am
by panic!
they always mess up for me so I use terminal. only takes a few days to get used to. stick with it :)

Re: What svn clients do you mac users use?

Posted: Sat May 31, 2008 3:17 am
by Chris Corbyn
svn

;)

You can't beat the command line. Especially if you're working on a UNIX system (i.e. a Mac)

Re: What svn clients do you mac users use?

Posted: Sat May 31, 2008 7:42 am
by matthijs
I was afraid I would get that advice :(

As it is now, half the time I run a command in the terminal it does the wrong thing. I first have to look up the repo url. Then open up the terminal. Then look up the correct command. Then type the command + the url, etc. It's such a hassle.

Maybe I should get a) typing lessons and b) memory training.

In the perfect situation, if I wanted to check out the code of a project I would like to do 2 clicks: 1 to open the (non-existant) svn program, 1 to click "checkout". It would also be much easier to have a clear overview of the files of a project. What files have been changed, what files are in which revision, etc. You need a GUI for that. You can't get that in the terminal. Maybe I'm not geek enough yet. :|

Re: What svn clients do you mac users use?

Posted: Sat May 31, 2008 11:36 am
by JAB Creations
If you're talking about subversion setup (I might be wrong) why not just use version labeled folders and create a custom homepage?

My setup...
http://localhost/Version%202.7/
http://localhost/Version%202.8/

Image

...or are you guys talking about a different type of SVN?

Re: What svn clients do you mac users use?

Posted: Sat May 31, 2008 12:32 pm
by matthijs
Yes, we're talking about code subversion

Re: What svn clients do you mac users use?

Posted: Sat May 31, 2008 1:16 pm
by JAB Creations
Can you setup a batch file of some sort on a Mac (we have .bat) and program it to take parameters (if any) for the repetitive steps you have to take in the console?

Questions out of curiosity (though I probably won't have any constructive suggestions)...
1.) Why are you in the console if you're working on code in a GUI environment?
2.) How often and why are you creating new versions of files?
3.) Do you keep test cases separate of your local/live environment?

I'm just curious about your setup. :)

Re: What svn clients do you mac users use?

Posted: Sat May 31, 2008 1:26 pm
by matthijs
JAB Creations wrote:Can you setup a batch file of some sort on a Mac (we have .bat) and program it to take parameters (if any) for the repetitive steps you have to take in the console?
I think there is. But, it's not that repetitive. If it were, I would remember the urls and commands myself ;)
JAB Creations wrote: Questions out of curiosity (though I probably won't have any constructive suggestions)...
1.) Why are you in the console if you're working on code in a GUI environment?
2.) How often and why are you creating new versions of files?
3.) Do you keep test cases separate of your local/live environment?

I'm just curious about your setup. :)
I have a feeling you are not familiar with subversion?
see http://en.wikipedia.org/wiki/Subversion_%28software%29
There are different ways to interact with the subversion repositories. The terminal is the most basic, original way (unix). And it does work.
Keeping code in a subversion has many advantages, you could even say it's impossible to work without one. So yes, with each change a new version is made.

Re: What svn clients do you mac users use?

Posted: Sat May 31, 2008 3:26 pm
by JAB Creations
I got the basics down initially after reading (and some people have mentioned it before in various situations in the past). I was more curious how it related to your work scenario?

Re: What svn clients do you mac users use?

Posted: Sat May 31, 2008 3:55 pm
by matthijs
Not sure what you mean?

I have code in the repository, say a project on sourceforge. I do a checkout so I get the latest code. then I change some code, test locally and if I'm happy I commit the changes to the repo. Then the repository is updated to a new revision and other people working on the project can update to the newest code. Etc etc If at some point we want to go back that's possible because of the subversion system. And it's also possible to see exactly what changed, when and by whom.

Re: What svn clients do you mac users use?

Posted: Sat May 31, 2008 4:50 pm
by Weirdan
matthijs wrote:What files have been changed, what files are in which revision, etc. You need a GUI for that. You can't get that in the terminal. Maybe I'm not geek enough yet. :|

Code: Select all

 cd ~/your-projectsvn st 
I usually use

Code: Select all

 svn st | vim -  
though. Then I have a macro to view exact changes I made in my working copy (unified diff with syntax highlighting).

Overall, it looks like this:
svn.png
svn.png (15.66 KiB) Viewed 694 times

Re: What svn clients do you mac users use?

Posted: Sun Jun 01, 2008 1:00 am
by matthijs
Ok, status command is too easy :) What about checking out that project on sourceforge with that ridiculous long url (which you can't exactly remember all the time)

It just would be nice to be able to click a button and drag and drop files just as I do with my FTP program.

Re: What svn clients do you mac users use?

Posted: Sun Jun 01, 2008 6:41 am
by Chris Corbyn
You should only ever need to check out the code once. You don't repeatedly checkout. The only commands I use on a regular basis are:

svn add
svn move
svn copy
svn delete
svn up
svn st

And occassionally "svn merge" and "svn diff".

Remembering long URLs doesn't come into it unless I'm doing the initial checkout of a new project :) I don't use Finder to copy or delete files etc though; I prefer the command line for that so perhaps svn just feels more natural to me. With the command line I have the power of a bash shell at my fingertips (i.e. I can create loops, pipe through externals programs etc). I don't type very much... tab completion does wonders for my laziness ;)

Re: What svn clients do you mac users use?

Posted: Sun Jun 01, 2008 3:51 pm
by matthijs
Ok, then I missed some commands ;)

Dude, why didn't someone tell me that before! Instead of typing
svn checkout https://myproject.sourceforge.net/some/ ... /svn/trunk
each time I could just do svn up?

Re: What svn clients do you mac users use?

Posted: Sun Jun 01, 2008 3:58 pm
by Weirdan
matthijs wrote:I could just do svn up?
Yeah... we didn't know you didn't know it =)