I am looking here for some hints and tips on how to manage multiple versions of a projet.
Currently I have a development version of the application which includes some improvements and new functionnalities. In meanwhile I have to do some bug resolving. It is easy to fix the bugs on files that have not been touched by new functionnalitites but as soon as I touch the page that have the new func. I need to comment several lines of code each time. I feel it is not the best way to play around. There must be a method good enought to solve this issue.
On another side of the problem is the deployment. It is quite often that I must wait several weeks before uploading a new functionnality on the website. In meanwhile I tend to forget sometimes each files that have been modified (or commented for bugs) and it can create errors. I have heard of capistrano for ruby fans, could that help me ? I am mostly a PHP/asp.net developper.