Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: Learning How to Use CVS for Personal Perl Coding Practices

by neversaint (Deacon)
on Nov 03, 2005 at 16:37 UTC ( #505430=note: print w/replies, xml ) Need Help??


in reply to Re^3: Learning How to Use CVS for Personal Perl Coding Practices
in thread Learning How to Use CVS for Personal Perl Coding Practices

Hi Rhose,

I tried this:
svn import . file:///~/subversion/Project1 -m "Initial import"
But it gave:
svn: Unrecognized URL scheme 'file:///~/subversion/Project1'


---
neversaint and everlastingly indebted.......

Replies are listed 'Best First'.
Re^5: Learning How to Use CVS for Personal Perl Coding Practices
by tirwhan (Abbot) on Nov 03, 2005 at 16:46 UTC

    Yeah, you need to give the full path, e.g.

    svn import . file:///home/neversaint/subversion/Project1 -m "Initial i +mport"
    Regarding the $EDITOR variable, you should set that to your favourite editor
    export EDITOR=/usr/bin/emacs
    or
    export EDITOR=/usr/bin/vi
    then you can specify the subversion commands without the -m and have it call the editor for manual message entry automatically if you prefer. Add the line to .bashrc to have it done for you automatically when you log in.

    Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian W. Kernighan
Re^5: Learning How to Use CVS for Personal Perl Coding Practices
by Rhose (Priest) on Nov 03, 2005 at 16:56 UTC
    I have no experience using file: as I work with the daemon. However, I ran a quick test on another machine, and this worked.

    cd /home/rhose/tmp svnadmin create demo cd samples svn import . file:///home/rhose/tmp/demo -m "Initial import"

    I tried it as:

    svn import . file:///~/tmp/demo -m "Initial import"

    and I got the same error you are getting... looks like you need to specify the path to your home directory.

    Update

    Yeah, what tirwhan said. *Smiles* At least I had a reason to play with file: for a bit.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://505430]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2019-08-22 08:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?