From: Grzegorz J. <ja...@he...> - 2003-03-20 09:21:20
|
Hi, I could not figure out how to import new vendor release (eg. gc) into sandbox branch, and we need this e.g. for Alexandre, who is now upgrading gc in his sandbox. I wrote a script that does the job. I created new module 'tools' and checked it into it, the name is 'import-into-branch'. It simply figures out what files/dirs are to be deleted/added, deletes the files (using 'rm' and 'cvs remove'), copies the new version into working dir, adds the new files and dirs to cvs (using 'cvs add') and that's it. If you had your sandbox in working dir, then now you have sandbox with new contents, you can safely commit (and the commit will go to the sandbox). Enjoy. Grzegorz ################################################################## # Grzegorz Jakacki Huada Electronic Design # # Senior Engineer, CAD Dept. 1 Gaojiayuan, Chaoyang # # tel. +86-10-64365577 x2074 Beijing 100015, China # # Copyright (C) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## |