David Peixotto wrote: > I wrote a python script that can be used to record and reinstate the commit > state of all the git repositories used by GHC. It parses the output of the > sync-all log command suggested by Simon to create a "fingerprint" which is > just the pairs of (subdirectory, commit) that can be used to identify the > current state of all the repos. Given a fingerprint, it can also restore the > repositories to the fingerprint state by running a checkout of the appropriate > commit in each subdir.
Interesting tool. Do you have a set of these fingerprints dating back a year or more? Over the weekend I hacked together a tool (in Haskell) that can parse the git logs of the various repositories and for a given date, put together a bunch of git commit hashes (one for each repo) that should work together. I'm still hacking on the tool and so far the results have been less than stellar, but not completely useless. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/ _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
