I am trying to set up TortoiseSVN. I am using the Windows version and using the context menu, you right click and it has some options.
For initially getting my files into to a repository I try to do import and it is the only thing that makes it seem like it is working, and it shows in the log.
But eventually when it gets to the jQuery file that's in my directory I get an error and everything comes to a stop.
How can I get around this?
"Import" is to bring something completely outside of version control into SVN. Once something is under SVN control, you can "commit" (new modifications), or "checkout" (stuff you've already committed). At any time, you can "export" some or all of your project into a "clean directory".
TortoiseSVN is an Open Source project developed under the GNU General Public License (GPL). It is free to download and free to use, either personally or commercially, on any number of PCs.
Export is not what you think it is. It's used to get the files that are already in the repository without the extra versioning data.
For my initial import, I usually just
I've never had an issue doing it this way.
This is essentially the same as the Import in place section of the TortoiseSVN manual. Except that I copy the files in after checkout to avoid the warning.
The reason I don't like using import is that you don't end up with a working copy after doing the import. When I have been working on some code and decide I want to add it to a new repository, I just check out the new (empty) repository over top of my existing code. Once you have done that, you have turned your code into a working copy and you can now add and commit (or ignore) any files you want. Much simpler than import, IMO.
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