On Fri, 27 Aug 2010, Roman Chyla wrote:
> But I need to test both versions *alongside* -- on the same core, and
> I need to edit code of both of them at the same time, compare how they
> do.

I see.  But if you are pursuing editing of both versions, then you have
probably two different dev branches that you are switching between
anyway.  And, as I mentioned, the switch-and-install of a BibClassify
branch takes 0.3 sec for me.  So since it is so fast to switch, maybe
you don't really need to edit them in full parallel?  Maybe switching
will do?

> my brain loses track of which version I am at right now

Your editor can surely show you which branch you are in.  E.g. Emacs
displays this information in the status bar.

Also, your shell can show you the branch, and whether you have some
uncommitted files, etc.  Personally I'm using git-prompt:
<http://volnitsky.com/project/git-prompt/>

> it is ugly to it, re-install the whole invenio in order to test one
> module feels so bad, that I have to run away

Note that in my example I was all the time in `modules/bibclassify/lib'
directory; so I was re-installing only the BibClassify module, not the
whole Invenio.

Best regards
-- 
Tibor Simko

Reply via email to