[rancid] RANCID with SVN - Deleting Groups

Vincent Hoffman-Kazlauskas vhoffman at names.co.uk
Tue Jul 30 12:40:28 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 30/07/2013 12:42, Trix Farrar wrote:
> On Tue, Jul 30, 2013 at 10:01:54AM +0100, Vincent Hoffman-Kazlauskas wrote:
>> On 30/07/2013 08:11, Jason Yates wrote:
>>> Can anybody tell me how to delete a group from RANCID when using SVN?
>>>
>> [root at rancid]# cd /var/rancid/test
>> [root at rancid]# svn info | grep 'Repository Root'  
>> Repository Root: file:///var/rancid/CVS
>> [root at rancid]# svn ls file:///var/rancid/CVS/test
>> configs/
>> router.db
>> [root at rancid]# svn rm -m"remove test group" file:///var/rancid/CVS/test
>>
>> Committed revision 79.
>> [root at rancid]#
>>
>
> $ cd /var/rancid
> $ svn rm test
> $ svn commit -m 'remove test group'
>
> Should do the same thing.  Either should work.
>
> Source:  http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.delete.html
>
oddly it doesnt which is why I jumped though hoops.
[rancid at ancid ~]$ pwd
/var/rancid/
[rancid at ancid ~]$ svn info test
Path: test
URL: file:///var/rancid/CVS/test
Repository Root: file:///var/rancid/CVS
Repository UUID: 5b34dc86-8168-4497-a0a8-ff0461a0d52a
Revision: 81
Node Kind: directory
Schedule: normal
Last Changed Author: rancid
Last Changed Rev: 81
Last Changed Date: 2013-07-30 13:33:29 +0100 (Tue, 30 Jul 2013)

[rancid at rancid ~]$ svn rm test
svn: '.' is not a working copy
[rancid at rancid ~]$svn commit -m 'remove test group'
svn: '/var/rancid' is not a working copy

the working copies are i assume the group directories.

Vince



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlH3tDsACgkQxCSYQ8x/EL4dGwCfU6/97DPcI/jZFOm4ecdsz0wG
fssAniWjhzXvvN3z+3TB56EOxedi6063
=ozcN
-----END PGP SIGNATURE-----

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


More information about the Rancid-discuss mailing list