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

Re: stick to an old file

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-14 03:50:01 CET

On Mar 13, 2007, at 21:13, Steven Woody wrote:

> On 3/14/07, Ryan Schmidt wrote:
>> On Mar 13, 2007, at 20:46, Steven Woody wrote:
>> > if i found a recent file in the repository get some problem and
>> i want
>> > to use one of its old revision as well as keeping other files as
>> their
>> > latest, so what do i do in svn? the 'svn -rxxx co' command only
>> > supports directory rather than single file. you see, my
>> requirement
>> > is some like the stick option of cvs's update command.
>> I don't know CVS or it's stick option. But perhaps you are looking
>> for "svn up -r$REV $FILE"
> ok, it works but does not fully resolve the problem. after 'up -rxxx',
> i have to put an eye on the file every time when i want to do another
> 'svn up' --- to prevent the old file are not overwriten by lastest
> file in the repository, in other words, it is *not* sticky.
> after seaching the web, i'v by far found someone suggested to go
> through 'branching and merging'. any ideal?

Let's keep the discussion on the mailing list please.

Yes, it sounds like you could handle this situation by making a branch.

The other solution could be "svn switch", but that only works on
directories, not individual files.

To reply to the mailing list, please use your mailer's Reply To All  
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 14 03:50:41 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.