LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   svn import (https://www.linuxquestions.org/questions/linux-newbie-8/svn-import-4175592639/)

arun natarajan 11-01-2016 06:36 AM

svn import
 
Hi,

For the first time, am trying to setup SVN . During the configuration, import command giving an error as invalid path, though the path is available. Am stuck up with this.


[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.32-71.el6.x86_64 #1 SMP Wed Sep 1 01:33:01 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

[root@localhost ~]# svn --version
svn, version 1.6.11 (r934486)
compiled Sep 3 2010, 13:35:47

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme

[root@localhost ~]# ls -ltr /tmp/svn-template/
total 12
drwxr-xr-x. 2 root root 4096 Nov 1 05:12 branches
drwxr-xr-x. 2 root root 4096 Nov 1 05:12 tags
drwxr-xr-x. 2 root root 4096 Nov 1 05:12 trunk

[root@localhost ~]# svn import -m 'create branhes' /tmp/svn-template/
svn: Try 'svn help' for more info
svn: Invalid URL '/tmp/svn-template'

TB0ne 11-01-2016 07:51 AM

Quote:

Originally Posted by arun natarajan (Post 5625564)
Hi,
For the first time, am trying to setup SVN . During the configuration, import command giving an error as invalid path, though the path is available. Am stuck up with this.

[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.32-71.el6.x86_64 #1 SMP Wed Sep 1 01:33:01 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

[root@localhost ~]# svn --version
svn, version 1.6.11 (r934486)
compiled Sep 3 2010, 13:35:47

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme

[root@localhost ~]# ls -ltr /tmp/svn-template/
total 12
drwxr-xr-x. 2 root root 4096 Nov 1 05:12 branches
drwxr-xr-x. 2 root root 4096 Nov 1 05:12 tags
drwxr-xr-x. 2 root root 4096 Nov 1 05:12 trunk

[root@localhost ~]# svn import -m 'create branhes' /tmp/svn-template/
svn: Try 'svn help' for more info
svn: Invalid URL '/tmp/svn-template'

A few things jump out:
  • You didn't spell "branches" correctly.
  • You haven't actually specified anything to check in
  • You have them in the wrong order.
Please see the svn documentation for the correct syntax:
http://svnbook.red-bean.com/en/1.7/s...porting.import

arun natarajan 11-22-2016 09:34 PM

hi,

link provided by you, helped me a lot

thanks


All times are GMT -5. The time now is 03:02 AM.