You are not logged in.

#1 2005-07-11 19:22:30

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Subversion

hello guys,
can somebody explain how to get started with subversion?

all i wanna do is working as a client not a server,
i've been able to get a copy of the server version, i ran "svn checkout", but how do i submit my changes?

i've never used subversion before so i'm a real noob,  big_smile


arch + gentoo + initng + python = enlisy

Offline

#2 2005-07-11 19:33:29

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Subversion

Do you know CVS? Its a lot like CVS.

Commit your changes with svn commit, add files and folders with svn add, remove them with svn remove. svn update will merge server's changes with yours.

I believe svn help <command> will give you more information on all of the above.

http://svnbook.red-bean.com/en/1.1/svn-book.html for absolutely all the information you need.

Dusty

Offline

#3 2005-07-11 19:44:04

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Subversion

hello dusty,
yeah, i found that manual and phrakture is helping me out on mail too,

but i still get an error when i should add my changes:

[xerxes2@UFU 2005-jul-11]€ svn ci newsletter.html
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

arch + gentoo + initng + python = enlisy

Offline

#4 2005-07-11 19:47:24

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Subversion

svn ci newsletter.html -m 'these are some changes I made'

Either that, or:

export EDITOR=vim

in your ~/.bashrc

Dusty

Offline

#5 2005-07-11 19:51:04

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Subversion

thanks dusty,
phrakture was like 5 seconds faster than you but he got a few minutes head start, smile

that export vim stuff works perfectly, 8)
now maybe there will be a new newsletter someday...

edit: that -m command was even simpler, dusty-phrakture 1-1,


arch + gentoo + initng + python = enlisy

Offline

#6 2005-07-11 19:54:01

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Subversion

So I'm faster than phrakture, if he had a few minutes head start and still only beat me by 1/12 minute?

Let it be known to the world...

Dusty

Offline

#7 2005-07-11 19:57:17

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Subversion

bah, you win due to the -m command (which I never use, I like vim)

Offline

#8 2005-07-11 19:58:08

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Subversion

when it comes to speed nothing beats dusty on dvorak, 8)

but i think that phrakture is not so very far behind, smile


arch + gentoo + initng + python = enlisy

Offline

Board footer

Powered by FluxBB