[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: RE: Branching question

From: Reedick, Andrew <jr9445_at_ATT.COM>
Date: 2007-11-15 18:19:26 CET

The delete and re-copy is "easy" but you will lose the history
associated with the original 162. Besides, it would behoove you to
learn/practice how to merge.
You can use 'svn copy -r 162 svn://path/to/file current_workspace' to
replace the HEAD with the old version.


        From: Jeff Lanzarotta [mailto:delux256-subversion@yahoo.com]
        Sent: Thursday, November 15, 2007 12:14 PM
        To: Ian Wood; Reedick, Andrew; Subversion Mailing List
        Subject: RE: RE: Branching question
        I am using TortoiseSVN. You are correct in that I check it back
in, the version number is the HEAD... Also, each of the revision have
other files in them.
        So, maybe the easiest way would be like you said, to delete the
file, update to revision 162. But, can I get 162 back into the truck?
        Ian Wood <Ian.Wood@sucden.co.uk> wrote:

                At least with TortoiseSVN...It may be easier to delete
the working copy and then update it to the revision required.
                <!--[if !supportLists]-->* <!--[endif]-->Do I need
to so an "unmerge" for each revision, i.e. unmerge 195, unmerge 193,
unmerge 191, and unmerge 187, which will get me to 162?
                Doing this would get you to what the file was at
revision 162, but when you commit that it will take the revision number
of the Head.

                From: Jeff Lanzarotta
                Sent: 15 November 2007 16:40
                To: Reedick, Andrew; Subversion Mailing List
                Subject: RE: Branching question
                Interesting... What if I need to go back 4 revisions...
The current revision number is 195 and revision I need to get to is
                Do I need to so an "unmerge" for each revision, i.e.
unmerge 195, unmerge 193, unmerge 191, and unmerge 187, which will get
me to 162?
                "Reedick, Andrew" <jr9445@ATT.COM> wrote:
> From: Jeff Lanzarotta
> Sent: Thursday, November 15, 2007 10:21 AM
> To: Subversion Mailing List
> Subject: Branching question
> I currently have a file, let's say foo.exe, checked
into an svn
> repository. My repository is set up with the typical
> branches, and tags layout. The file foo.exe is checked
> the trunk. foo.exe has several revision against it, 1,
2, and
> 3 with 3 being the HEAD.
> Here is the question, can I move revisions 2 and 3
into a branch
> and make 1 the HEAD again? The powers at be do not
want the
> changes that are in revisions 2 and 3 until sometime
next year,
> so they want revert back to revision 1 as the HEAD. Is
> possible or is there a different way to do it...
                1. Create next_year_branch from revision 3.
                2. On the trunk, unmerge (do a reverse merge) revisions
2 and 3. Refer
                to "Undoing Changes" in
                To unsubscribe, e-mail:
                For additional commands, e-mail:

                www.sucden.co.uk <http://www.sucden.co.uk/>
                Sucden (UK) Limited, 5 London Bridge Street, London SE1
                Telephone +44 20 7940 9400
                Registered in England no. 1095841
                VAT registration no. GB 446 9061 33
                Authorised and Regulated by the Financial Services
Authority (FSA) and entered in the FSA register under no. 114239
                This email, including any files transmitted with it, is
confidential and may be privileged. It may be read, copied and used only
by the intended recipient. If you are not the intended recipient of this
message, please notify postmaster@sucden.co.uk immediately and delete it
from your computer system.
                We believe, but do not warrant, that this email and its
attachments are virus-free, but you should check.
                Sucden (UK) Ltd may monitor traffic data of both
business and personal emails. By replying to this email, you consent to
Sucden's monitoring the content of any emails you send to or receive
from Sucden. Sucden is not liable for any opinions expressed by the
sender where this is a non-business email.
                The contents of this e-mail do not constitute advice and
should not be regarded as a recommendation to buy, sell or otherwise
deal with any particular investment.
                This message has been scanned for viruses by BlackSpider
MailControl <http://www.blackspider.com/>


The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA625
Received on Thu Nov 15 18:20:53 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.