[SOLVED]QtCreator and Subversion



  • Hi!

    I'd like to use Subversion with QtCreator and I'm not really getting the whole idea behind it and any help would be really great. I'm new to Linux so there are things which are not trivial to me.

    What I want to do basically is uploading my (unversioned) 1.0-ish project into my repo at riouxsvn.com. I created a repo with tag-branch-trunk structure and I think 1.0 should go into the trunk.

    First I installed subversion via the terminal with 'sudo apt-get install subversion' successfully. The path is okay, 'svn help' is working. I read that I should import first my unversioned project into my repo with:

    @svn import <myprojectfolder> https://riouxsvn.com/svn/myprojectrepo@

    However, this give me a GNU-nano screen in the terminal and I don't know what to do here....When will be my repo login name/password asked?

    It is really confusing and frustrating :-(



  • Nevermind, I managed to solve the problem. You need to add -m "some note" to the command line to avoid that gnu nano stuff, for example:

    @svn import -m "inital import" --username <myusername> --password <mypassword> <myprojectfolder> http://mysvnrepo.com/repo/myproject/trunk @

    Now, all the files in your local 'myprojectfolder' will be uploaded to your svn host.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.