Sponsored Content
Full Discussion: Beginning svn
Top Forums Programming Beginning svn Post 302793007 by yifangt on Thursday 11th of April 2013 01:43:04 PM
Old 04-11-2013
Beginning svn

I had hard time to understand svn, and asked my admin who said I was over thinking and recommend remember the 5~6 commands to do as told. But I am so lost when the situation changed a little bit. For example, I am in my local box under my project folder:
Code:
/home/yifangt/svn/

where there are two projects dog and fox:
Code:
/home/yifangt/svn/dog
/home/yifangt/svn/fox

When I came to the dog project and checkout the project from repository (I believe it is somewhere I am not sure, as my admin told me do not need to think of it!)
Say project dog has two scripts
Code:
how_to_hunt_fox.c    how_to_like_cat.c

Code:
/home/yifangt/svn/dog $ svn co svn://svn/dog

I got extra subdirectory named dog again,
Code:
/home/yifangt/svn/dog/dog/

which is actually redundant of dog from the repository. What I expect is to just check out the two files only, but not the whole folder. What did I miss? What should I do?

Thank you!
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Problem with Subversion SVN

Hi, I am trtying to install SVN server with Apache. I have already configured apache with SVN modulesh and the same can be seen in the modules directory. -rwxr-xr-x 1 root root 34740 Jul 3 13:43 mod_authz_svn.so -rwxr-xr-x 1 root root 385133 Jul 3 13:43 mod_dav_svn.so now the... (1 Reply)
Discussion started by: Siddheshk
1 Replies

2. Shell Programming and Scripting

SVN activity of certain user

Hi there, I'm looking for some help to get a little script done that shows me (or counts) only the added lines from an SVN repository of one specific user. Anybody has an idea? Thanks, Michael (0 Replies)
Discussion started by: MichaelGiese
0 Replies

3. AIX

AIX 6.1 SVN

Can anybody provide me with useful links how to install SVN on AIX 6.1? (10 Replies)
Discussion started by: wwwzviadi
10 Replies

4. Ubuntu

svn keyrings

Hello, I have a svn account and can use it easly trought Web browser inserting username and passwd. But I get problems when I wanna do the same via shell, here the output that I get: svn --username myusername co https://address/repo/ . Password for '(null)' GNOME keyring: svn: OPTIONS... (0 Replies)
Discussion started by: Dedalus
0 Replies

5. UNIX for Dummies Questions & Answers

svn question

Hello, This one really stumps me. I checked out a repo to a subdirectory. I created a simple post-commit hook that updates the webserver. A. When I update with the command line everything is fine. B. When I use a GUI program to commit, I get this message in the log: Host key verification... (3 Replies)
Discussion started by: mike628
3 Replies

6. Shell Programming and Scripting

svn check out

If I am transfering a folder from svn location to my unix server with below command, it is working – svn co svn+ssh://bcvxsvxxnp01.corp.ocwen.com/svn/repos/repos/REALResolution/CalcEngine/CalcEngine\ QA/1852011_CalcEngine_v5.1 But when I do below thing – ... (0 Replies)
Discussion started by: thearpit
0 Replies

7. Solaris

How to integrate SVN client to SVN server repository.

Hi, I am new to SVN configuration on Solaris 10.I have installed SVN client version 1.7. bash-3.00# ./svn --version svn, version 1.7.4 (r1295709) compiled Mar 2 2012, 12:59:36 Here my requirement is how to integrate svn client to One of the SVN server repository. My repository... (0 Replies)
Discussion started by: muraliinfy04
0 Replies

8. Shell Programming and Scripting

Connect to SVN from UNIX

Hi, Can anyone please tell the command to connect to SVN from UNIX? Thanks (1 Reply)
Discussion started by: sampoorna
1 Replies

9. UNIX for Dummies Questions & Answers

Svn update

dear all after a wile that i was able to update my model with ''svn update'', now i can not update my model with that command:mad:. my model is COAWST please see the following error: $ svn update svn: OPTIONS of 'https://coawstmodel.sourcerepo.com/coawstmodel/COAWST': SSL handshake failed:... (1 Reply)
Discussion started by: komijani
1 Replies

10. Shell Programming and Scripting

Making post down hook script for svn regarding sending emails after an file is committed in svn

Hi Folks , I am asking this question but i apologise please if this is not the correct forum , I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies
SVN-AUTORELEASEDEB.CONF(5)				User Contributed Perl Documentation				SVN-AUTORELEASEDEB.CONF(5)

NAME
svn-autoreleasedeb.conf - Configuration for svn-autoreleasedeb SYNOPSIS
/etc/svn-autoreleasedeb.conf $HOME/.svn-autoreleasedeb/conf DESCRIPTION
The svn-autoreleasedeb configuration file is writed in XML, because XML is easy to work with multiple-level data, but it's already in the TODO list to use a better format. As a good XML file, this config file has the following header. <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE svn-autoreleasedeb [ <!ELEMENT sources (server)+> <!ELEMENT server (package)+> <!ATTLIST server name CDATA #REQUIRED options CDATA #REQUIRED> <!ELEMENT package (option)+> <!ATTLIST package name CDATA #REQUIRED svnserver CDATA #REQUIRED prefix CDATA #REQUIRED tag CDATA #REQUIRED> <!ELEMENT option EMPTY> <!ATTLIST option name CDATA #REQUIRED value CDATA #REQUIRED> ]> Which, in fact, tells the structure of the XML file. But in the case you don't know XML, this header tells that, in the sources, you have servers, which have packages, which have options. A server has the "name" and the "option" properies, a package has "name", "svnserver", "prefix" and "tag" properties and an option has "name" and "value" property. Before explaining how the options affects the script, you must know that in the current version, all the tags and properties MUST be lower- case (it's already on the TODO list). CONFIGURATION SECTIONS
server This is the master section, tells what server to dupload. Actually, the "name" property of the server is used as the "--to" parameter to dupload. Packages are declared inside servers. Also, the "options" property tells aditional parameters to svn-buildpackage for every pack- age in this server. package The package itself, the "name" property is used as the module name for svn checkout. The "svnserver" property is passed to svn and the "prefix" is placed before the module name, used if your package is inside some other directory than the svn root. You must inform the tag to checkout the sources from. This tag should be used to point where to get the release from. "stable" is a good name for a tag. option Specify an option to a package. The following options are accepted and increment the following text to the svn-buildpackage command: binary-source = 1: "-b" EXAMPLE
In the case you still didn't understand the config file, follows an example: <server name="intern"> <package name="svn-autoreleasedeb" svnserver="svn://ruoso@ozonio:/var/svn" prefix="" tag="trunk"> </package> <package name="someotherpackage" svnserver="svn://ruoso@ozonio:/var/svn" prefix="" tag="trunk"> <option name="binary-source" value="1"/> </package> </server> SEE ALSO
svn-buildpackage(1), svn(1), svn-autoreleasedeb(1), dupload(1) AUTHOR
This manual page was written by Daniel Ruoso <daniel@ruoso.com>, for the Debian GNU/Linux system. perl v5.8.7 2006-08-04 SVN-AUTORELEASEDEB.CONF(5)
All times are GMT -4. The time now is 02:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy