LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-01-2016, 07:36 AM   #1
arun natarajan
Member
 
Registered: Jun 2014
Posts: 111

Rep: Reputation: Disabled
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'
 
Old 11-01-2016, 08:51 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,331

Rep: Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089
Quote:
Originally Posted by arun natarajan View Post
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
 
Old 11-22-2016, 10:34 PM   #3
arun natarajan
Member
 
Registered: Jun 2014
Posts: 111

Original Poster
Rep: Reputation: Disabled
hi,

link provided by you, helped me a lot

thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
starting with git repos created from svn-all-fast-export, how to interact with svn? eantoranz Programming 0 03-17-2013 12:45 AM
svn import error says svn: Repository moved permanently to 'http://192.168.1.5/deva/' dev@linuxquestion# Linux - Server 0 04-15-2012 03:34 AM
copy svn working dir without svn hidden dirs and files? erinspice Linux - Software 4 03-29-2011 06:58 PM
Svn client on FC10: remote SVN server update errs: timed out waiting for srvr ... Amol Tupe Linux - Software 0 10-01-2010 04:25 AM
anon svn read-only over apache: '.svn/entries': No such file hedpe Linux - Software 2 04-29-2009 06:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration