[rancid] RANCID with SVN - Deleting Groups

Jason Yates lists at jasonyates.co.uk
Tue Jul 30 09:39:27 UTC 2013


Vince,

 

That worked perfectly. 

 

Many thanks for the fast reply!

 

Regards

 

From: Vincent Hoffman-Kazlauskas [mailto:vhoffman at names.co.uk] 
Sent: 30 July 2013 10:02
To: Jason Yates
Cc: rancid-discuss at shrubbery.net
Subject: Re: [rancid] RANCID with SVN - Deleting Groups

 

On 30/07/2013 08:11, Jason Yates wrote:

Hi All,

 

Can anybody tell me how to delete a group from RANCID when using SVN?

 

I've removed the group name from rancid.conf but I can't seem to delete it
from SVN. If I do rm -rf <NAME> the folder still remains in SVN. If I try an
svn delete <NAME> it returns svn: '.' is not a working copy

 

I can't seem to find any documentation on how to do this with SVN, only with
CVS.

I'm not totally au fait with rancid but for me (on centos6 rancid from epel)

[root at rancid]# cd /var/rancid/test
[root at rancid]# svn info | grep 'Repository Root'    
Repository Root: file:///var/rancid/CVS <file:///\\var\rancid\CVS> 
[root at rancid]# svn ls file:///var/rancid/CVS/test
<file:///\\var\rancid\CVS\test> 
configs/
router.db
[root at rancid]# svn rm -m"remove test group" file:///var/rancid/CVS/test
<file:///\\var\rancid\CVS\test>  

Committed revision 79.
[root at rancid]# 

then just delete the directory.
Hope that's useful. 

Vince




 

Any help is greatly appreciated.

 

Thanks






_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20130730/38c34f07/attachment.html>


More information about the Rancid-discuss mailing list