Maybe I've overlooked it but I haven't seen an equivalent to

svn switch URL-of-CWS-or-tag

With svn I had one checkout which I switched to whatever cws or tag I
wanted to build and svn switch would only download the differences
between my current checkout and the target. That was fast, saved
bandwidth and hard drive space (believe it or not, I have to make do
with an 80GB hard disk). With Mercurial it looks like I have to clone
a complete repository whenever I want to build a CWS or a tag. Could
someone give me the Mercurial equivalent to the following sequence of
instructions:

svn co http://svn.services.openoffice.org/ooo/trunk/
cd trunk

svn switch http://svn.services.openoffice.org/ooo/cws/blabla
# Now the current directory contains the OOo sources for CWS blabla

svn switch http://svn.services.openoffice.org/ooo/tags/OOO320_m2/
# Now the current directory contains the OOo sources for milestone OOO320_m2
# NOTE: The changes from CWS blabla are NOT merged. Unless they have
been incorporated in m2 by
# the OOo developers, they are gone now from my checkout.
# This is an important point. I am NOT looking for a way to merge
changes from different trees.

svn switch http://svn.services.openoffice.org/ooo/trunk/
# Now my repository is exactly as it was in the beginnig (assuming no
commits happened in the mean time)

As mentioned in the beginning, I'm interested in a way of doing this
that is fast, bandwidth-efficient and diskspace-efficient.

Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to