In message <[email protected]> on Mon, 19 Jan
2009, Douglas Philips <[email protected]> writes

>And yes, I looked at the page for installing source to patch/develop
>against, and no it isn't simple, esp. if one has only one Windows
>machine on which one has to run real work on. I don't have the luxury
>of a spare Windows box to do from-source TortoiseHg work on, and one
>machine on which I have to do my paying-$$-real-job.

I'm surprised that's even an issue these days. For a while now I've been
using free virtualisation software (VMware Player at home and VMware
Server at work) for isolating multiple development environments. All you
need is the disk space for a machine image or two and spare licenses
(which can be recycled licenses from old, decommissioned machines).  You
can even download 'appliance' images - I found a nice Ubuntu+Eclipse one
at under 4GB.

My standard fully patched Windows XP SP3 image for work is 3GB and my
basic Visual Studio 2008 environment, complete with MSDN is only 8GB,
small enough to fit on a pen-drive, so I imagine a full development
environment for TortoiseHg would be somewhere in-between these last two.

> Let alone trying
>to debug the interactions between a from-source setup and a installer
>setup (since I have to support other members of my group with the
>released version that we are using).

One wonderful feature of virtual machines, which you can't easily do
with a 'real' machine is the idea of snapshots.

Lets say you want to test the installer. First you build your installer,
then set up your test VM (which may or may not be the development VM) as
if the user is going to install it for the first time. Then you request
VMware to take a snapshot. Then you run the test.

If the test succeeds, all well and good, if the test fails, with one
revert, you can set the whole VM back to the state it was in before the
test install. This can make the whole test/re-test cycle much quicker
and easier.

Well done on the new release by the way, I'm looking forward to trying
it out when I have the time.

Take care,


Mark..........
PS It is a really good idea to remove the [ANN] tag from the subject
   line when responding to an announcement, that way, people who filter
   because they are only interested in announcements won't be bugged by
   follow-ups to the announcement.
-- 
Mark Booth

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to