[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Svn and module support

From: William Uther <will+_at_cs.cmu.edu>
Date: 2002-05-01 21:36:17 CEST

On 1/5/02 1:24 PM, "Nicklas Larsson" <kilsmo@lysator.liu.se> wrote:

> Now, when I read that 1.0 will probably not include annotate and module
> support, the most obvious question is, how much longer will it take to
> finish the version with annotate and module support?

svn already support "poor man's modules"? It has `svn switch` :)

Obviously you'd want something better for full support, but what it has is
usable. You do have to set up the links to the module manually for each
working copy.

% mkdir svntest
% cd svntest
% svnadmin create repos
% svn mkdir file:///Users/will/svntest/repos/trunk -m "add trunk dir"

Committed revision 1.
% svn co file:///Users/will/svntest/repos/trunk
Checked out revision 1.
% cd trunk
% svn mkdir myproj
% svn mkdir myotherproj
% svn mkdir mymodule
% cd myproj
% svn mkdir mymodule
% cd ../myotherproj
% svn mkdir mymodule
% cd ..
% svn commit -m "set up stuff"
Adding mymodule
Adding myotherproj
Adding myotherproj/mymodule
Adding myproj
Adding myproj/mymodule

Committed revision 2.
% ls
mymodule myotherproj myproj
% cd myproj
% svn switch mymodule file:///Users/will/svntest/repos/trunk/mymodule
Updated to revision 2.
% cd ../myotherproj
% svn switch mymodule file:///Users/will/svntest/repos/trunk/mymodule
Updated to revision 2.
% cd ../mymodule
% cat > modulefile
this is the modulefile
% svn add modulefile
A modulefile
% svn commit -m "add modulefile"
Adding mymodule/modulefile
Transmitting file data .
Committed revision 3.
% cd ..
% svn up
A ./myproj/mymodule/modulefile
A ./myotherproj/mymodule/modulefile
Updated to revision 3.
% cd myproj/mymodule
% ls
Modulefile
% more modulefile
this is the modulefile

Later,

\x/ill :-}

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 1 22:04:02 2002

This is an archived mail posted to the Subversion Dev mailing list.