Is there a mercurial or git repository to download FreeBSD sources?

mamalos said:
...instead of using cvsup or svn?
If you want the source to be in a git repository, you could use git-svn:
Code:
$ cd /usr/src/
$ git svn init svn://svn.freebsd.org/base/stable/9
$ git svn fetch -rXXXXXX
where the option -rXXXXXX tells git-svn to fetch the complete history beginning from revision XXXXXX, the current revision of /base/stable/9 is 240670 (so, don't set this value to small, otherwise the initial fetch will take forever). You can then subsequently update the repository with the git-svn analog to svn update:
Code:
$ git svn rebase
 
Back
Top