I'm currently trying to return a single file to the state of a previous revision in subversion. I don't want to commit the file, just leave it as a modification to the working copy for a bit. How would I do that?
Edit: It was suggested that I use checkout, but if I run the command that I would expect to work I get:
$ svn help checkout
checkout (co): Check out a working copy from a repository.
usage: checkout URL[@REV]... [PATH]
Valid options:
-r [--revision] arg : ARG (some commands also take ARG1:ARG2 range)
A revision argument can be one of:
NUMBER revision number
$ svn checkout -r 133 templates/supplier.post_product.tpl
svn: Client error in parsing arguments
I guess perhaps I have to use a url to a directory instead of a path?
svn up -r foo path/bar