Sponsored Content
Full Discussion: SVN main directory sync
Top Forums UNIX for Advanced & Expert Users SVN main directory sync Post 303001422 by busyboy on Thursday 3rd of August 2017 05:38:56 AM
Old 08-03-2017
SVN main directory sync

I'm quite new to SVN and having configured it based on tutorials from youtube etc, I have it setup like below:

* User1 and User2 can commit and update using their own passwords,
* Updates from both user1 and user2 are visible to each other
* files are shared between both user1 and user2
* file contents are successfully visible and updated


Now the problem is that the repo I have setup on server side, is not being updated with the contents from user1 and user2, these changes are only visible to users on their windows system ( using tortoiseSVN client )



I had this SVN repo setup using below given command list:

Code:
svnadmin create /var/svn_repo


pico /var/svn_repo/conf/svnserve.conf

and add the following:

Code:
anon-access = none
auth-access = write
password-db = passwd

Now you'll need to create a password file:

pico /var/svn_repo/conf/passwd
Add a line in that file for your user in the format =

Code:
exampleuser = examplepassword

and then


Code:
svn mkdir file:///var/svn_repo/d5
svn import /var/www/html/beta/ONE file:///var/svn_repo/d5

Now , I can't see the /var/www/html/beta/ONE is updated with the contents from both User1 and User2, all changes are local to all users,

Any idea, how to update changes on the server side, so that these changes are visible from the browser using apache2 webserver
 

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
SVN::Class::File(3pm)					User Contributed Perl Documentation				     SVN::Class::File(3pm)

NAME
SVN::Class::File - represents a file in a Subversion workspace SYNOPSIS
# see SVN::Class; DESCRIPTION
This class subclasses Path::Class::File::Stat and SVN::Class. A SVN::Class::File object behaves like a Path::Class::File::Stat object, but with the extra Subversion functionality of SVN::Class. METHODS
There are no new methods implemented in this class. The following methods are overridden to return SVN::Class-derived objects instead of Path::Class-derived objects. new dir AUTHOR
Peter Karman, "<karman at cpan.org>" BUGS
Please report any bugs or feature requests to "bug-svn-class at rt.cpan.org", or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SVN-Class <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SVN-Class>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT
You can find documentation for this module with the perldoc command. perldoc SVN::Class You can also look for information at: o AnnoCPAN: Annotated CPAN documentation http://annocpan.org/dist/SVN-Class <http://annocpan.org/dist/SVN-Class> o CPAN Ratings http://cpanratings.perl.org/d/SVN-Class <http://cpanratings.perl.org/d/SVN-Class> o RT: CPAN's request tracker http://rt.cpan.org/NoAuth/Bugs.html?Dist=SVN-Class <http://rt.cpan.org/NoAuth/Bugs.html?Dist=SVN-Class> o Search CPAN http://search.cpan.org/dist/SVN-Class <http://search.cpan.org/dist/SVN-Class> COPYRIGHT &; LICENSE Copyright 2007 by the Regents of the University of Minnesota. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
SVN::Class, Path::Class::File::Stat perl v5.14.2 2012-01-31 SVN::Class::File(3pm)
All times are GMT -4. The time now is 08:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy