> -----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.
[later]
I SEE!!
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
Gottfried
---------------------------------------------------------------------
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