You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Larry Marshall <lc...@marshap.com> on 2009/05/13 14:56:27 UTC

Import and subfolders

I am not used to using the command line, since I usually work on Windows and
use TortoiseSVN. However, currently I've got a CentOS box which needs to
have some code put under Subversion.

 

I have a folder called 1000 with subfolders A, B, C ..

 

My current directory is set to 1000. I issue the command 'svn import A
<repo/trunk>' and it places all the contents of A into trunk, but not A
itself. How can I construct the command so it A under trunk with all of A's
files?

 

Thanks, Lars

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2239073

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Import and subfolders

Posted by Andy Levy <an...@gmail.com>.
On Wed, May 13, 2009 at 10:56, Larry Marshall <lc...@marshap.com> wrote:
> I am not used to using the command line, since I usually work on Windows and
> use TortoiseSVN. However, currently I’ve got a CentOS box which needs to
> have some code put under Subversion.
>
>
>
> I have a folder called 1000 with subfolders A, B, C ..
>
>
>
> My current directory is set to 1000. I issue the command ‘svn import A
> <repo/trunk>’ and it places all the contents of A into trunk, but not A
> itself. How can I construct the command so it A under trunk with all of A’s
> files?

svn import A repo/trunk/A

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2239285

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: Import and subfolders

Posted by Konstantin Kolinko <kn...@gmail.com>.
2009/5/13 Larry Marshall <lc...@marshap.com>:
> I am not used to using the command line, since I usually work on Windows and
> use TortoiseSVN. However, currently I’ve got a CentOS box which needs to
> have some code put under Subversion.
>
>
>
> I have a folder called 1000 with subfolders A, B, C ..
>
>
>
> My current directory is set to 1000. I issue the command ‘svn import A
> <repo/trunk>’ and it places all the contents of A into trunk, but not A
> itself. How can I construct the command so it A under trunk with all of A’s
> files?
>

As for me, I usually use "svn add". It is something like the following recipe:
http://subversion.tigris.org/faq.html#in-place-import

Also, if you added something not needed, you can always undo (revert)
the add for those files before committing.

If you are new to command line, do not forget to check the SVN Book.
http://svnbook.red-bean.com/

Also "svn help <command name>" provides a short reference.

Best regards,
Konstantin Kolinko

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2239361

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


RE: Import and subfolders

Posted by Bob Archer <bo...@amsi.com>.
>My current directory is set to 1000. I issue the command 'svn import A <repo/trunk>' and it places all >the contents of A into trunk, but not A itself. How can I construct the command so it A under trunk with >all of A's files?

Svn import A $REPO/trunk/A

Should work for you.

BOb

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2239244

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].