file/dir checkout within subversion...+ possible bug
From: Andrew Barber <andrew.barber_at_amd.com>
Date: 2004-08-25 21:35:04 CEST
I also would like to be able to check out single files, or groups of
svn co $REPO/trunk/foo.c .
At some point later I should be able to do
and it should show up in the same directory (thus sharing the .svn file
In one particular case, I wanted to abandon a local modification and go
svn co -r <other rev> $REPO/trunk/foo.c
But this did not work. I had to do
svn revert foo.c
In the former case, it would be even better if I could give svn co a
As for what I think is a bug, I had a case where I back revved a file in
> svn update -r 100 foo.c
Oops, that file didn't exist for that rev. Ok, makes sense that it
> svn update -r HEAD foo.c
Hmm. Didn't expect that. I expected the file to disappear from my
Whatever that means. I know for sure that it means it didn't work.
> svn switch -r HEAD $REPO/trunk/foo.c foo.c
Not sure what it's telling me here either other than it refused to
Ooo, ooo I know, svn copy!
> svn copy -r HEAD $REPO/trunk/foo.c foo.c
Well, I guess that didn't work either.
I give up, I'll just update the whole directory to get the file back. I
> svn update -r HEAD .
Oops the file from the copy is still there. If I hadn't done the svn
So it seems as though I am wedged. I can't get this file back into my
---------------------------------------------------------------------
|
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.