Dear
tirwhan,
Let me make myself clear again. Please bear with me.
Suppose I have the following directory which contain a file (myperlcode.pl) which I want to store them with SVN.
~/MyPerl
|
|__Project1
|
|__ myperlcode.pl
Note: ~/ = home/neversaint
Following your advice what I tried to do is following steps.
Step 1: Creating a subversion main repository and repository related to Project1
home/neversaint $ mkdir subversion
home/neversaint $ cd subversion
home/neversaint/subversion $ svnadmin create Project1
Listing them:
home/neversaint/subversion $ cd Project1
home/neversaint/subversion/Project1 $ ls
README.txt conf dav db format hooks locks
Step 2: Attempting to create empty repository
home/neversaint/subversion $ cd ~/MyPerl/Project1
home/neversaint/MyPerl/Project1 $ svn import . file:///~/subversion/Pr
+oject1
^
|
Note: did I get this right? ---------------------|
Now, at this point I encounter problem with this message:
svn: Could not use external editor to fetch log message; consider<br>
setting the $SVN_EDITOR environment variable or using the
--message (-m) or --file (-F) options
svn: None of the environment variables SVN_EDITOR, VISUAL or
EDITOR is set, and no 'editor-cmd' run-time configuration option was
found
Is there anything wrong with my steps above? Did I misunderstood your advice above? Hope to hear from you again.
---
neversaint and everlastingly indebted.......
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.