Quick svn question - sorry this rails related.
If I setup a repository once and then add multiple projects using ‘svn import’ is it correct that all the projects share they same revision numbers? Is this expected? It seems kind of confusing that way.
Expected? Yes. Confusing? Well, if your experience is with SCS, CVS, RCS, etc. where each file has its own revision perhaps.
On the other hand, if I use ‘svnadmin create’ to create a single project repository for each project that seems like overkill. What is the best practice here?
Not overkill. This will make sense once you start using it. In fact, if you look at Rails itself, you see that it is actually rails, active_support, action_pack, active_record, (action_mailer, action_web_service, …) and each has its own repository (somewhere). You don’t generally have to worry about that since the dependencies in RubyGems takes care of getting all the parts when you ask for Rails.
I typically have an ./svn directory under which I create repositories. For real “projects”, a separate repository is created, but I have a bunch of random stuff in a repository called “code”
Rob Biedenharn http://agileconsultingllc.com