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

RE: How to update a single file to HEAD revision?

From: Ganssauge, Gottfried <Gottfried.Ganssauge_at_haufe.de>
Date: 2006-01-26 13:16:29 CET

> -----Original Message-----
> From: Ryan Schmidt [mailto:subversion-2006Q1@ryandesign.com]
> Sent: Thursday, January 26, 2006 12:26 PM
> To: Ganssauge, Gottfried
> Cc: users@subversion.tigris.org
> Subject: Re: How to update a single file to HEAD revision?
> On Jan 26, 2006, at 11:04, Ganssauge, Gottfried wrote:
> > I'm trying to update a single file in a sandbox checked out from a
> > branch to the current HEAD revision.
> > In CVS I would have done "cvs update -A file".
> > In Subversion I'm trying to use "svn update -rHEAD" but to no avail.
> > "svn update -r<numeric head revision>" doesn't work either.
> "svn update -rHEAD file" does what you want. Since "-rHEAD"
> is implied, so does "svn update file".
OK, so much I figured already.
But what about svn update -r<numeric revision>
Shouldn't that update the file to the state of the numeric revision?
At least it says it does but when you look at the file it's different.

It does contain the contents of revision 9's file - revision 9 in
directory /branches/BRANCH_1/x!
This probably should be an FAQ!

Thanks a lot


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 26 13:18:04 2006

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.