Sponsored Content
Full Discussion: Beginning svn
Top Forums Programming Beginning svn Post 302796875 by Praveen_218 on Sunday 21st of April 2013 04:53:06 AM
Old 04-21-2013
Quote:
Originally Posted by yifangt
Thanks Praveen!
Do I need to worry about the project folder perl_script for this file, I mean to include the path?
No, you don't need to worry of the path. Inside the sandbox a folder called .svn gets created and has all the information (including navigational information) the SVN needs to correctly check-in your file.

If you do
Code:
 svn commit

inside a given directory all files and it's sub-folders are tested for changes (if any) and those changed are decided to be checked-in and just before this you get an editor (if already set) opened for you, with already populated with information of the files getting checked-in, to enable you to write your final check-in comments.

Quote:
Originally Posted by yifangt
How about if I have the same file in another project e.g: sources but the code is different? Does svn handle that automatically? Thanks a lot!
You don't need to worry at all. It's just like the directory rule in which you can't have two file with same name but can have under different directories and hence path differs (the absolute path can't be same of two entity under the system).
 

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-DO(1)							 Command reference							 SVN-DO(1)

NAME
svn-do - export a source and run a command inside the source. SYNOPSIS
svn-do COMMAND DESCRIPTION
svn-do will use svn-buildpackage to export a source, run a command inside the exported source and, if the command succeeds, copy back the debian/ tree EXAMPLES
clean the tree (useful if this requires the full source tree) $ svn-do debclean I: Exporting source tree via svn-buildpackage... [...] I: Running command: debclean [...] I: Copying back the debian/ tree... 'debian/control' -> 'path/package/debian/control' use quilt to refresh a patch $ QUILT_PATCHES=debian/patches svn-do sh -c "quilt push 002_static-linking-dont-build-perf.patch; quilt refresh" [...] I: Copying back the debian/ tree... [...] 'debian/patches/002_static-linking-dont-build-perf.patch' -> '/path/package/debian/patches/002_static-linking-dont-build-perf.patch' Start a source editing session and decide later not to copy back the debian/ tree $ svn-do $SHELL [...] I: Running command: /bin/zsh % exit 1 E: command exited with 1; not copying back the debian/ tree. edit a patch in a CDBS' simple-patchsys based package $ svn-do cdbs-edit-patch 02_pmount.patch [...] SEE ALSO
/usr/share/doc/svn-buildpackage/() The svn-buildpackage HOWTO manual svn-inject(1) puts a Debian source package into Subversion repository svn-upgrade(1) upgrade source package from a new upstream revision svn(1) Subversion command line client tool dpkg-buildpackage(1) Debian source package tools lintian(1) Debian package checker AUTHORS
Eduard Bloch This manual page was written by Eduard Bloch in roff. Goneri Le Bouder Converted manpages to SGML. Neil Williams Converted manpages to DocBook XML and current Debian maintainer COPYRIGHT
Copyright (C) 2009 Eduard Bloch Release: 0.8.2 May 2009 SVN-DO(1)
All times are GMT -4. The time now is 06:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy