i would like to know if this is possible:
- create a shared git repository that connects to cvs
- post two hooks to it:
- everytime anyone pulls from it, it imports from the cvs repository
- everytime anyone pushes to it, it exports to the cvs repository
basically create a ‘lazy mirror’ of a cvs repository that is completely transparent to the git users
if this is not possible what are the best method to create a cvs mirror?
ps. is git-cvsserver usable? besides the commits, checkouts and updates, can it merge two branches?
git-cvsserverhas limitations:You can find best practices for using Git with CVS here, with a full git-cvs setup.
You can try and add to this setup a post-receive hook and see if a
git cvsexportcommitcan work from there.