Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 04-19-2005, 10:23 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,446
sde is on a distinguished road
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
sde is offline   Reply With Quote
Old 04-19-2005, 11:05 PM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,446
sde is on a distinguished road
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
sde is offline   Reply With Quote
Old 04-19-2005, 11:23 PM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,446
sde is on a distinguished road
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
sde is offline   Reply With Quote
Old 04-20-2005, 12:01 AM   #4 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,694
redhead is on a distinguished road
This is great, I just took the long road and read the svn book
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 04-20-2005, 04:15 AM   #5 (permalink)
idx
Senior Grasshopper
 
idx's Avatar
 
Join Date: Jun 2003
Location: FL
Posts: 317
idx is on a distinguished road
export EDITOR=vi
or
EDITOR=vi; export EDITOR
idx is offline   Reply With Quote
Old 04-20-2005, 05:15 AM   #6 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,140
Belisarius is on a distinguished road
Gah, you vi nutcases. You want pico.
__________________
GitS
Belisarius is offline   Reply With Quote
Old 04-20-2005, 07:18 AM   #7 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,446
sde is on a distinguished road
Quote:
Originally Posted by idx
export EDITOR=vi
or
EDITOR=vi; export EDITOR
thanks!
__________________
Mike
sde is offline   Reply With Quote
Old 04-20-2005, 07:20 AM   #8 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,446
sde is on a distinguished road
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
sde is offline   Reply With Quote
Old 04-20-2005, 08:37 AM   #9 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,140
Belisarius is on a distinguished road
I've been using TortiseSVN for quick-and-easy versioning on Windows. I haven't plugged it into a network SVN server yet, though.
__________________
GitS
Belisarius is offline   Reply With Quote
Old 04-20-2005, 08:47 AM   #10 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,446
sde is on a distinguished road
tigris.com domain has been down since at least yesterday.
__________________
Mike
sde is offline   Reply With Quote
Old 04-20-2005, 03:03 PM   #11 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,446
sde is on a distinguished road
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
sde is offline   Reply With Quote
Old 04-20-2005, 04:45 PM   #12 (permalink)
idx
Senior Grasshopper
 
idx's Avatar
 
Join Date: Jun 2003
Location: FL
Posts: 317
idx is on a distinguished road
Quote:
Originally Posted by Belisarius
Gah, you vi nutcases. You want pico.
What? pico is a PITA.
idx is offline   Reply With Quote
Old 04-20-2005, 06:04 PM   #13 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,140
Belisarius is on a distinguished road
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.
__________________
GitS
Belisarius is offline   Reply With Quote
Old 04-21-2005, 06:22 AM   #14 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,446
sde is on a distinguished road
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
sde is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How does the tutorial section work? DavH27 Lounge 3 08-27-2004 02:46 AM
Anyone Know of a Generic C++ Builder Autorun Tutorial ? Nicotine Standard C, C++ 0 05-11-2004 07:32 PM
The Largest Tutorial in Code Newbie History! sde Code Newbie News 5 04-24-2004 07:19 PM
tutorial stats sde Lounge 1 03-20-2004 02:45 PM


All times are GMT -8. The time now is 05:25 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting