Ex Bibliotheca

The life and times of Zack Weinberg.

Friday, 8 February 2002

# 4:45 AM

So I needed to write a script to walk back in time through the GCC source repository until it started miscompiling this test case I've got, but I didn't want to start now, I wanted to start back in 2000 sometime. How do you do that? The CVS client won't take anything convenient like a simple count of days since 1970...

... but it turns out that you can write -D "4 days ago 2000-06-24" and the "4 days ago" bit will modify the "2000-06-24" bit. That's good enough. The script is now grinding merrily away. It takes longer to update the working copy than it does to compile the result, but it's going to run overnight anyway, so I can live with that.

Off to bed.