This might be a silly question. I have started to use Tortoise SVN since last month. I checked out a few folders from repository and they are fine. When I right click on them, I can see commit, check out and other options too...
But, I wanted to push something to the repo. I could not see a commit option, so I played with it, googled and did an import. The folder was pushed into the repo. Now, for all folders I checked out from repo, I can see a red exclamation or right tick mark. But this one which I pushed has no indication like that. Also, there is no option called commit when I right click on it. Why is it? Am I doing something wrong?
"Import" does not actually create a working copy. "Import" only adds the files in the specified directory, to a location in the repository. It does NOT convert the specified directory to a working copy or associate it in any way with the repository server.
Right now, your best option is to svn checkout
the imported directory to a new location and move over any modified files from the directory you did the import from.
To avoid the problem in the future, instead of doing "import", try creating a new directory on the repository, then making a svn checkout
of that empty directory to get a working copy, then svn add
any files you want into that empty directory, then svn commit
them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With