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

Re: cmd line stuff (was: CVS update: ...)

From: Lee Burgess <lefty_at_red-bean.com>
Date: 2000-10-17 20:45:15 CEST

Jim Blandy writes:
> I've added my old command-line notes to subversion/client/README. Here
> are the ideas I thought were worthwhile:
> * It seems kind of archaic to type:
> svn -d REPO-SPEC checkout MODULE
> This splits the information `what am I checking out' across two
> different places. It would be nicer to simply name the thing you're
> checking out, using some appropriate noun clause. For remote things,
> URL's are the natural kind of noun clause:
> svn checkout http://subversion.tigris.org/repo/subversion
> I don't know if this is exactly the DAV way; maybe Greg can provide a
> more realistic example. But the important idea is that the syntax
> should be:
> svn checkout THING
> * Given Subversion's idea that the repository is just a versioned
> filesystem, it makes sense to allow some operations directly on the
> repository. For example, if I want to copy a tree, so I can start
> work on a separate branch of development, I shouldn't have to check
> out this huge tree, copy a big section of it, and then commit that.
> Just as I can say:
> svn cp SOURCE DEST
> to copy something in my working directory, I should be able to use
> URL's for SOURCE and / or DEST, and have the right thing happen. It's
> the same idea behind rcp / scp: instead of providing one command for
> downloading, and a separate command for uploading, just provide a
> syntax for referring to files elsewhere, and let the names tell you
> how the data needs to flow.
> Since we don't support inter-repository branching yet, we would
> require for now that when SOURCE or DEST are remote, they must refer
> to the same repository.

I like this idea a lot (Many good ideas today)!

However, one thing that occurs to me is how would one specify a module
with that command syntax?

Please correct me if svn is not going to support modules like cvs; or
if a module in svn would just be something like a symlink?

Maybe I should read the spec? Forgive me if I am being obtuse; I have
been lurking on the list for some time, but still have a lot to catch
up on. :)

Lee P. W. Burgess  <<!>>  Manipulate eternity. Power is a symphony:
Programmer         <<!>>  elaborate, enormous, essential.
Red Bean Software  <<!>>  Dream the moment with a fiddle in summer 
lefty@red-bean.com <<!>>  and a knife in winter.
Received on Sat Oct 21 14:36:11 2006

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