installing a revision control system

Post Reply
emmeerre
Posts: 4
Joined: Tue Aug 23, 2011 9:02 pm

installing a revision control system

Post by emmeerre » Wed Sep 07, 2011 10:34 pm

Hi
I have a NS2 v 1.2.5
i have ssh access, installed mldonky.

i would like to install a revision control system, looking around on the repository of ipkg i found cvs and mercurial.

it should be powerfull enough to have a repository of one of them

trying to configure either of them i found problems
on cvs i can't commit being root but being other user i don't have permission
and on mercurial i can't find a configuration file .hgrc
could you help me
Thank you

User avatar
olivm
Posts: 46
Joined: Mon Feb 01, 2010 10:10 pm
Location: France - 38
Contact:

Re: installing a revision control system

Post by olivm » Tue Sep 27, 2011 3:08 pm

I've installed an SVN repository in the Lenny chroot (see dedicated posts : no need to alter the base installation, just to add Debian files) ; it works fine !
It runs svnserve ; I can access it from anywhere, and it's really great.

ltree
Posts: 27
Joined: Tue Jan 18, 2011 7:44 pm

Re: installing a revision control system

Post by ltree » Tue Sep 27, 2011 5:38 pm

I've had Git working fine too as a remote repo. I used a SSH tunnel as the medium for connection, but you could equally as easily use Git's own protocol.
on cvs i can't commit being root but being other user i don't have permission
CVS is really getting quite old now and isn't the best solution for new projects. SVN and Git are the de facto standards at the moment, with each being better at certain aspects. Mercurial is quite a new one and isn't as widely used at the moment. As for why it's doing that, try moving the repository to a location that is owned by a non-root user and set the permissions to allow that user access (or start from scratch, creating the repo with the user you want to use)
and on mercurial i can't find a configuration file .hgrc
I've never used Mercurial, but it may be you need to create the config file yourself: http://www.selenic.com/mercurial/hgrc.5.html

emmeerre
Posts: 4
Joined: Tue Aug 23, 2011 9:02 pm

Re: installing a revision control system

Post by emmeerre » Sun Oct 09, 2011 11:04 am

Thanks olivm
SVN seem to work on the lan now i have to open the port on my router
just installed whit 'ipkg install cvs'
and then configured
like this
http://svn-ref.assembla.com/subversion- ... linux.html

and rapidsvn as client

maybe i'll have a try to git as well
Thanks for the advice

Post Reply