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

RE: Re: updating to the specified tag?

From: Bicking, David (HHoldings, IT) <David.Bicking_at_thehartford.com>
Date: 2007-09-25 21:04:18 CEST

What is the reason you want to update your workspace to a particular
revision without it affecting the repository or switching to it?
Perhaps it is to do a build?
 
Your options are:
1. "rollback" to revision, which is a reverse merge from HEAD to the
desired revision. This makes your Trunk HEAD match the tag, which is NOT
what you porport to desire.
2. (using TSVN) "revert to revision" by right-clicking on the revision
while in the log and chosing the option. This pulls that revision down
to your workspace w/o affecting the repository until you commit.
 
I'm sure there is at least one other way to get the desired result.
Item 2 looks like what you seek, and you can later "update" to get the
HEAD and continue like normal. Personally, if I wanted to get the tag,
I'd just switch to the TAG, do my build or whatever, then switch back to
trunk, which is essentially the equivalent of option #2, but much
easier.

--
David
 
________________________________
	From: Hari Kodungallur [mailto:hkodungallur@gmail.com] 
	Sent: Tuesday, September 25, 2007 1:13 PM
	To: Sylvain Viart
	Cc: users@subversion.tigris.org
	Subject: Re: updating to the specified tag?
	
	
	
	
	On 9/25/07, Sylvain Viart <sylvain.viart@easyrencontre.com>
wrote: 
		Hi,
		
		Is it possible to update (not to switch or merge) to the
same revision
		that were been copied into a tag? 
		
	The only way to update the trunk_wc is to update the files in
the trunk in the repository. This can be achieved only using copying
files to trunk or merging to trunk. 
	 
	In this particular case though, you created the tag using the
trunk_wc. So, updating the trunk_wc using the tag (even if
hypothetically it was possible) would yield the same set of files, isn't
it?
	 
	Thanks,
	-Hari Kodungallur
	 
*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************
Received on Tue Sep 25 21:04:45 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.