[Pkg-octave-devel] svn buildup

Rafael Laboissiere rafael at debian.org
Thu Nov 29 14:49:00 UTC 2007


* Ólafur Jens Sigurðsson <ojsbug at gmail.com> [2007-11-29 14:49]:

> About the guideline then it says to create the directories manually
> and copy them through the filesystem with cp and I did this for one
> package and then when I issued svn add
> octave-forge-pkgs/octave-statistics/trunk I got
> 
> svn: 'octave-forge-pkgs/octave-statistics' is not a working copy
> svn: Can't open file
> 'octave-forge-pkgs/octave-statistics/.svn/entries': No such file or
> directory

When the Guidelines were written, I did not know extensively about SVN.  It
is not authoritative in this respect and it only gives a feasible cookbook.
I think that you are having trouble because of the subdir octave-forge-pkgs.

> >From the good book (http://svnbook.red-bean.com/) then it shows an
> example of initially importing a new tree into svn and they use
> 
> svn import mytree file:///path/to/code

There is a simple way to create the directories, just go like this:

    for d in octave-forge-pkgs                                     \
             octave-forge-pkgs/octave-statistics                   \
             octave-forge-pkgs/octave-statistics/trunk             \
             octave-forge-pkgs/octave-statistics/trunk/debian	   \
             octave-forge-pkgs/octave-statistics/tags ; do	     
        svn mkdir svn+ssh://svn.debian.org/svn/pkg-octave/$d       \
          -m "Created $d directory" 
    done

then checkout:

    cd octave-statistics-0.0.0
    svn co svn+ssh://svn.debian.org/svn/pkg-octave/octave-forge-pkgs/octave-statistics/trunk/debian

and start populating the debian directory.

(I will eventually add the above to the Guidelines.)

-- 
Rafael



More information about the Pkg-octave-devel mailing list