TUC-2285
Tests raised an exception because it could happen that we were trying to read from a socket that had been closed by a shutdown.
We were still trying to read when another thread asked for a shutdown.

git-svn-id: http://tungsten-replicator.googlecode.com/svn/trunk@2520 9f5e3340-5c9a-25cb-7c1c-c133a2e9e928
Check that the target directory is running the same type of product when running `tpm update`. TUC-2288
Add a '--reset' option to `tpm fetch` to clear any existing information.


git-svn-id: http://tungsten-replicator.googlecode.com/svn/trunk@2523 9f5e3340-5c9a-25cb-7c1c-c133a2e9e928
svn merge -r 2517:2518 https://tungsten-replicator.googlecode.com/svn/branches/2.2.1-maintenance/builder
Fix the `tpm fetch` command to support the '--enable-active-witnesses' setting in the defaults section TUC-2280


git-svn-id: http://tungsten-replicator.googlecode.com/svn/trunk@2526 9f5e3340-5c9a-25cb-7c1c-c133a2e9e928
Add a warning if installing with the CONTINUENT_PROFILES environment variable set but no REPLICATOR_PROFILES environmen
t variable. TUC-2288
Add an error if both CONTINUENT_PROFILES and REPLICATOR_PROFILES are set to the same value.


git-svn-id: http://tungsten-replicator.googlecode.com/svn/trunk@2527 9f5e3340-5c9a-25cb-7c1c-c133a2e9e928