cvs revisions – not the right way I think, but it works
Friday, October 17th, 2008 | Free Software, GNU, Software, geek
I needed all revisions of a file stored in CVS. In bazaar and other newer VCS this is a non issue since all the revisions (history) can be found in your local checkout/branch.
Anyhow, I needed all revisions of a file, let’s call it Y. This is how I did it.
FILE=Y
for i in $(cvs log $FILE | grep revision | awk ‘ { print $2 } ‘ | grep -v revisions) ; do cvs update -r $i $FILE ; cp $FILE ${FILE}.$i ; done
Again, perhaps not the right way. But it works.
No comments yet.
Leave a comment
Me elsewhere ..
FSCONS
Pages
Links
Categories
- Blogroll (1)
- book (8)
- Coffee (1)
- Copyright (3)
- Copyleft (2)
- datum (2)
- Education (5)
- English (2)
- event (50)
- conference (38)
- Food (1)
- Bread (1)
- Map (1)
- Music (9)
- Musik (16)
- Personal (13)
- Politics (2)
- politik (5)
- Religion (2)
- Software (147)
- Sport (6)
- Stupidities (2)
- Svenska (3)
- Translation (3)
- Uncategorized (18)
![[FSFe Fellow]](http://www.rejas.se/images/fsfe_fellow_badge_small.png)

