Sponsored Content
Full Discussion: SVN main directory sync
Top Forums UNIX for Advanced & Expert Users SVN main directory sync Post 303001743 by drl on Thursday 10th of August 2017 11:28:49 AM
Old 08-10-2017
Hi.

It has been a long time since I worked with subversion. When I set up our repository, I used as reference the book noted below.

The only thing I recall doing on the server after the initial setup was a backup every now and then. The book included perl codes for incremental backups. In our situation, we needed to run svnserve, the small server code that listened for subversion-related requests.

I also used svn on a consulting contract, and, as I recall it was relatively easy when working from the book. I was the only user, however.

While working with svn was a dramatic improvement over cvs, there are a number of version control systems available now, see link to comparisons below.

Good luck ... cheers, drl

Comparison of version control software - Wikipedia

Code:
Title: Pragmatic Version control Using Subversion
Subtitle: The Pragmatic Starter Kit -- Volume 1
Author: Mike Mason
Edition: 1st
Date: 2005
Publisher: Pragmatic Bookshelf
ISBN: 0-9745140-6-3
Pages: 224
Categories: software, version control
Comments: Second edition, 2006


Last edited by drl; 08-12-2017 at 12:59 PM.. Reason: Edit 1; 2: typo, svnserve, not svserve; other minor misspelling
 

10 More Discussions You Might Find Interesting

1. Solaris

Sync to Green vs. Separate Sync

Hi all....I have a Sun Ultra2 that I want to use with my PC monitor. I have purchased an adapter that does not work and I was told I need to change my video card setting (if I can) to Separate Sync.....my Monitor product number ends in 1343......I am running SunOS 5.7 ......anyone have any ideas? ... (0 Replies)
Discussion started by: psantinello
0 Replies

2. UNIX and Linux Applications

svn diff failed (no such file or directory)

I'm on ubuntu fiesty using svn as version control and gvim as my IDE. i like to review changes to files before checking them in. at some point in my life i used " svn diff {path}/{filename} " this now returns Index: {path}/{file}... (5 Replies)
Discussion started by: manic
5 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. Shell Programming and Scripting

Help with server/directory sync

Hi guys, can you help. I have looked all over the site and can not find the info I'm after. Perhaps I am missing something very obvious. I want to syncronise between 2 servers, I can not use NFS mount/share. So I have been looking at scp, rsync, rdist. Thing is, I want only the newer files to... (2 Replies)
Discussion started by: Boloic
2 Replies

5. 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

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. UNIX for Dummies Questions & Answers

sync directory

Hi, I have directory name as TEST on server1 and same directory TEST on server2 now i need to using these directories as new directories and files will be generated by application in TEST directory daily. I dont have rsync package on server. My approach is by lists all sub-directories... (1 Reply)
Discussion started by: tushar_spatil
1 Replies

8. 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

9. Shell Programming and Scripting

Saving svn log in a separate directory

Hi Folks, I have a directory at /usr/local/aa and there is other directory where I have checkout the code through svn checkout command ( /opt/app/fgh) now I can apply svn log command here as shown below $ cd /opt/app/fgh svn checkout <url> svn log shows me the log on console . please... (3 Replies)
Discussion started by: punpun66
3 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
SVNPATH(1)																SVNPATH(1)

NAME
svnpath - output svn url with support for tags and branches SYNOPSIS
svnpath svnpath tags svnpath branches svnpath trunk DESCRIPTION
svnpath is intended to be run in a Subversion working copy. In its simplest usage, svnpath with no parameters outputs the svn url for the repository associated with the working copy. If a parameter is given, svnpath attempts to instead output the url that would be used for the tags, branches, or trunk. This will only work if it's run in the top-level directory that is subject to tagging or branching. For example, if you want to tag what's checked into Subversion as version 1.0, you could use a command like this: svn cp $(svnpath) $(svnpath tags)/1.0 That's much easier than using svn info to look up the repository url and manually modifying it to derive the url to use for the tag, and typing in something like this: svn cp svn+ssh://my.server.example/svn/project/trunk svn+ssh://my.server.example/svn/project/tags/1.0 svnpath uses a simple heuristic to convert between the trunk, tags, and branches paths. It replaces the first occurrence of trunk, tags, or branches with the name of what you're looking for. This will work ok for most typical Subversion repository layouts. If you have an atypical layout and it does not work, you can add a ~/.svnpath file. This file is perl code, which can modify the path in $url. For example, the author uses this file: #!/usr/bin/perl # svnpath personal override file # For d-i I sometimes work from a full d-i tree branch. Remove that from # the path to get regular tags or branches directories. $url=~s!d-i/(rc|beta)[0-9]+/!!; $url=~s!d-i/sarge/!!; 1 LICENSE
GPL version 2 or later AUTHOR
Joey Hess <joey@kitenet.net> Debian Utilities 2013-12-23 SVNPATH(1)
All times are GMT -4. The time now is 09:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy