multiple working dirs from one repo
Kastner Masilko, Friedrich
Kastner-Masilko at at.festo.com
Wed Jul 21 11:55:06 UTC 2010
From: mercurial-bounces at selenic.com [mailto:mercurial-bounces at selenic.com] On Behalf Of Adam Downer
> To address the previous replies, the share extension does not seem like
> a good idea due to it not being a true separation of the working copies
> which will certainly give rise to issues in our environment. I feel that
> the mq extension would confuse the developers here with the extra
> command set and lead to lost code changes and similar for shelving.
> However, if local clones with hardlinks work well in windowsXP and
> windows 7, which is our primary development environment, then I think my
> problem is actually solved and I will put my toys back in my pram with
> my head suitably bowed.
We use the ShareExtension a lot at work and I can tell you that it is working perfectly with one exception: if you strip away the changeset one of the working copies is using as parent, you will get error messages in this working copy. OTOH, this problem is easily fixed with the debugsetparents and debugrebuildstate commands. I can't see how you will get into this problem with your environment, given that it used CVS before, which had no strip AFAIK.
So if your use-case is having different folders with different versions checked-out, the ShareExtension is what you should look into IMHO.
With local clones, you might get frustrated with your CVS background. A local clone is really a complete copy of your repository in another folder, not only a different working copy of another revision. Mercurial is clever enough to keep space-usage low with such clones, but it is (or is at least designed to be) nevertheless an independent copy. If you commit in a clone, you cannot switch to another clone and simply check that commit out, because you have to push/pull that commit to the clones first. With shared copies, this is not the case. Whatever you do in the repository of a shared copy will affect all other copies as well (besides working-copy operations, of course).
regards,
Fritz
Development Software Systems
Festo Gesellschaft m.b.H.
Linzer Strasse 227
Austria - 1140 Wien
Firmenbuch Wien
FN 38435y
Tel: +43(1)91075-198
Fax: +43(1)91075-282
www.festo.at
Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten bestimmt. Jede Form der Kenntnisnahme,
Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist unzulaessig. Wir
bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu setzen, falls Sie nicht der Adressat dieses E-Mails sind und das
Material von Ihrem Computer zu loeschen.
This e-mail and any attachments are confidential and intended solely for the addressee. The perusal, publication, copying or
dissemination of the contents of this e-mail by unauthorised third parties is prohibited. If you are not the intended recipient of this
e-mail, please delete it and immediately notify the sender.
More information about the Mercurial
mailing list