Discussion:
[rancid] Clear Rev History
Stephen Kone
2010-02-03 04:05:47 UTC
Permalink
I am not familiar with CVS, but would like to clear out all the previous
versions of my configs and start from scratch. I could create a new network
group, but I would like to use the existing group. I tried removing all my
devices from the db and then running rancid again and it appeared to work
and moved everything into the attic, but once I added the routers back into
the db file it did not reset the rev number. Is there an easy way to start
all over in CVS, but keep the same group name?



Thanks,



Stephen
john heasley
2010-02-03 17:41:55 UTC
Permalink
Post by Stephen Kone
I am not familiar with CVS, but would like to clear out all the previous
versions of my configs and start from scratch. I could create a new network
group, but I would like to use the existing group. I tried removing all my
devices from the db and then running rancid again and it appeared to work
and moved everything into the attic, but once I added the routers back into
the db file it did not reset the rev number. Is there an easy way to start
all over in CVS, but keep the same group name?
see cvs admin -o

or remove the device from router.db, run rancid, rm
/var/rancid/CVS/<group>/configs/Attic/<devicename>,v then put the device
back into router.db

Loading...