[Open Office] Quick SVN guide

Caio Tiago Oliveira asrail1 at gmail.com
Thu Jan 4 10:23:04 EST 2007


Jan Holesovsky, 04-01-2007 05:57:
> Hi Kohei,
> 
> On Thursday 04 January 2007 02:33, Kohei Yoshida wrote:
> 
>> I was able to do a full checkout by
>> 
>> svn co svn+ssh://(yourlogin)@svn.gnome.org/svn/ooo-build/trunk
>> ooo-build
>> 
>> though for some odd reason I had to type my passphrase a few times 
>> before the checkout actually started.
> 
> ssh-agent is your friend ;-)  Just do ssh-add, and type your
> passphrase, and you'll be always authenticated.  If ssh-agent is not
> running, do 'ssh-agent bash', and perform all the svn operations in
> that shell.
> 

You could use seahorse or another keyring manager and storing the
passphrase, if your computer is secure enough (at home, for instance).
You can block the first access with a password.

A tip for users new to SVN:
you can check what files would be updated with:
svn status --update (svn st -u, for short)

it's always useful to run:
svn st (or svn st | egrep "[^C]")
to look for the conflicts after updating.

If some file was in coflict, after resolving it use:
svn resolved [file]


For using tags, you can switch the directory, updating the changed files
  and directories:
svn switch [tag url]
, in the base directory. You might just to switch a sub-directory where 
you're working:
svn switch [tag url/directory] [directory]
, if in the base directory.


An online book you can use as reference:
http://svnbook.red-bean.com/



More information about the Openoffice mailing list