Using Tortoise ( command line solution is ok too ) SVN - without creating a folder on repository side - what are the steps to checkout a single file, edit and check back in with comments, thanks!
- Right click in Explorer where you want a Working Copy.
- Choose Check Out. Might be in tortise's menu.
- Enter Url and accept to get a Working Copy.
- Make change to file.
- Right Click in working copy. Choose commit.
OR
http://stackoverflow.com/questions/122107/checkout-one-file-from-subversion
AFAIK you cannot get a copy of a single file from SVN, a working copy is allways a directory. So you will need to check out a whole folder edit the file in question and then commit.
This was the case some time back(less than 3 months) and i doubt it has changed since
To check out a single file, you'll still need to check out its parent directory. From the command line, to check out https://svn.example.com/trunk/myfolder/index.html
:
svn co https://svn.example.com/trunk/myfolder/ --depth empty
svn up myfolder/index.html
Now, you can edit and commit this file as usual, without checking out anything else.
TortoiseSVN also includes "checkout depth" in its svn checkout menu option; however, I don't know of a way to make Tortoise do svn up filename
on a file that doesn't exist.
This is possible with TortoiseSVN but you must checkout the parent directory as well: 1. Create a working copy of the directory with no contents (use checkout depth "Only this item") 2. Click on the new working copy and select Repo-browser 3. Right click the file of choice in Repo-browser and select "update to revision"