On 2008-02-01 02:00, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > You can keep 'importing' snapshots of the src tree from any arbitrary > CVS branch, if you are willing to wait until CVS checks out the first > copy of the snapshot. > > This is how we 'resync' with the official doc/ tree changes in the Greek > translation team: > > (a) We keep a Mercurial workspace which is read-only to everyone > else, except the importer. > > (b) The importer checks outs doc/ snapshots and commits them as > 'vendor code drops' in http://hg.hellug.gr/freebsd/doc/ > > (c) I pull changes from the 'import tree' into my own personal > workspace, and merge them with the latest translation effort text. > > (d) Then the merged tree is pushed to a second 'workspace', 'branch' > or whatever you prefer calling it, at http://hg.hellug.gr/freebsd/doc-el/ > > The whole process of importing clean snapshots is automated in a shell > script, which I manually kick off at this point:
An much improved snapshot import script is now finished (for some odd definition of `improved' I guess), even thought it is still a bit ugly for my taste. http://people.freebsd.org/~keramida/scripts/bsd-doc-import.ksh.txt I'd probably prefer Perl for some of the stuff done in ksh(1) there, but no time for that tonight, and it seems to work as a 'proof of concept' of importing partial checkouts from CVS to Hg without having to go through all the hoops of converting the *full* history. The cron job entry which runs this is: # Try to import a snapshot of the BSD doc/ tree once an hour. @hourly $HOME/bsd-doc-import.sh $HOME/hg/doc/bsd-import This is getting pretty off-topic for freebsd-hackers though, so it's probably time for me to shuttup and go do something useful :) _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"