1753831 Members
9067 Online
108806 Solutions
New Discussion

cfengine & subversion?

 
Doug O'Leary
Honored Contributor

cfengine & subversion?

Hey;

I know subversion isn't exactly an HPUX related thing; however, I'm hoping someone here is familiar enough with it to get me over this conceptual lock that I appear to have.

I have a small cfengine implementation running that I'd like to have subversion manage. I've downloaded subversion for the UK's porting center (remember to grab the older version of db if you're going to do the same) and got it installed.

I imported the /var/opt/dsau directory tree into subversion and that seems to work.

# svn list file:///ignite/cfengine/repos
branches/
cfengine/
cfengine_master/
clog_tail_lock
layouts/
logs/
root_tmp/
sg/
tags/
tmp/
trunk/

I then checked out a version of cfengine_master and made a comment update to a file and committed the change. All the way through this process, I couldn't quite figure out how subversion was going to update the file in /var/opt/dsau/cfengine_master and sure enough it didn't.

I'm sure there's some very basic concept of version control software that I just flat out missed; however, my total experience with version control software is RCS.

Can someone fill me in on the missing concept? I appreciate your help and time.

Doug O'Leary

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
1 REPLY 1
Doug O'Leary
Honored Contributor

Re: cfengine & subversion?

Hey;

Nevermind; more reading in the automating linux and unix book cleared up the confusion.

In case anyone else is as inept with version control software as I, the trick is to move the production files out of the way, then have a read-only subversion user check out the production in their proper production place. Once that's done, it's a simple

svn update ./dsau

to get any updates that have been committed...

Doug O'Leary

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html