|
 |
|
 |
04-19-2005, 10:23 PM
|
#1 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,475
|
Subversion tutorial
I have decided I need to study up on version control and came upon a good tutorial for total newbies on version control with subversion.
I actually read a PDF this same author made in january 2004, but then I found he revised it in an html format in august 2004.
http://www.cbcb.duke.edu/~faheem/svn...al/svn.en.html
by Faheem Mitha
__________________
Mike
|
|
|
04-19-2005, 11:05 PM
|
#2 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,475
|
anyone know how to set the text editor in subversion to vi? i have tried to set an environment variable: SVN_EDITOR='vi' but it doesn't work. I get this error when i try to commit:
Quote:
$ svn ci
svn: Commit failed (details follow):
svn: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the --message (-m) or --file (-F) options
svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR is set, and no 'editor-cmd' run-time configuration option was found
|
__________________
Mike
|
|
|
04-19-2005, 11:23 PM
|
#3 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,475
|
this fixes it if i set it AFTER i login.
Code:
$ EDITOR=vim svn commit
i tried to add this to my .bash_profile, but it does not work.
anyone have any experience with this?
__________________
Mike
|
|
|
04-20-2005, 12:01 AM
|
#4 (permalink)
|
|
Newbie
Join Date: Jun 2002
Location: Denmark
Posts: 1,696
|
This is great, I just took the long road and read the svn book
|
|
|
04-20-2005, 04:15 AM
|
#5 (permalink)
|
|
Senior Grasshopper
Join Date: Jun 2003
Location: FL
Posts: 317
|
export EDITOR=vi
or
EDITOR=vi; export EDITOR
|
|
|
04-20-2005, 05:15 AM
|
#6 (permalink)
|
|
Java fanboy
Join Date: Aug 2003
Posts: 1,151
|
Gah, you vi nutcases. You want pico.
|
|
|
04-20-2005, 07:18 AM
|
#7 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,475
|
Quote:
|
Originally Posted by idx
export EDITOR=vi
or
EDITOR=vi; export EDITOR
|
thanks!
__________________
Mike
|
|
|
04-20-2005, 07:20 AM
|
#8 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,475
|
Quote:
|
Originally Posted by redhead
This is great, I just took the long road and read the svn book
|
i need to read this too .. the tutorial i posted is more of a way to introduce how svn works to n00bs. it really helped me get the concept of what it is supposed to do, and how you do it.. now i need to read your link  thanks for the link.
__________________
Mike
|
|
|
04-20-2005, 08:37 AM
|
#9 (permalink)
|
|
Java fanboy
Join Date: Aug 2003
Posts: 1,151
|
I've been using TortiseSVN for quick-and-easy versioning on Windows. I haven't plugged it into a network SVN server yet, though.
|
|
|
04-20-2005, 08:47 AM
|
#10 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,475
|
tigris.com domain has been down since at least yesterday.
__________________
Mike
|
|
|
04-20-2005, 03:03 PM
|
#11 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,475
|
if you are working on a website with subversion, .. is it a good idea to keep your images out of the file tree? i'm just thinking that this could get to be quite big with things other than text files.
__________________
Mike
|
|
|
04-20-2005, 04:45 PM
|
#12 (permalink)
|
|
Senior Grasshopper
Join Date: Jun 2003
Location: FL
Posts: 317
|
Quote:
|
Originally Posted by Belisarius
Gah, you vi nutcases. You want pico.
|
What? pico is a PITA. 
|
|
|
04-20-2005, 06:04 PM
|
#13 (permalink)
|
|
Java fanboy
Join Date: Aug 2003
Posts: 1,151
|
Quote:
|
Originally Posted by sde
if you are working on a website with subversion, .. is it a good idea to keep your images out of the file tree? i'm just thinking that this could get to be quite big with things other than text files.
|
I keep everything in there that I need to create a distribution. So yes, I'd keep the images in there.
|
|
|
04-21-2005, 06:22 AM
|
#14 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,475
|
ok, so the images don't get actually re-created when i commit unless i modify them right? just trying to get a handle on how file size will work.
__________________
Mike
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -8. The time now is 07:38 PM.
|
Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
|
 |
|