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

Re: [rfc]Checkout without the .svn Directories

From: Anthony Metcalf <anthony.metcalf_at_anferny.ath.cx>
Date: 2004-12-03 11:17:56 CET

On Thu, 2 Dec 2004 11:06:38 +0100
Vincent Lefevre <vincent+svn@vinc17.org> wrote:

> If you have only one .svn directory, you can't do a svn up. What
> you need is probably something like rsync or unison.

But I don't have a set-up without the .svns anywhere at all at the

Obviously svn up would have to be changed for what I want to work. Would
it be a very big change?

I notice that if I do svn <anything> in a directory without a .svn I get
"not under revision control" or some such.

What I am really asking for is a third case. i.e.

1) no .svn directory = not under rev control.
2) .svn exists (as it is now) = under normal revision control.
3) .svn contains just a version file = under export control.

Then svn up says, if under export control just update (recursivly) to
the latest revision. Updating the version in the top-level .svn
directory at the end.[1]

The whole tree is kept at the same revision. All the time.

This is a very limited type of checkout (hence the name export) but
would be useful to me, possibly to others.

Is it too great a job for the rewards?

[1] I can see two ways to do this.

        1) Effectivly do another svn export.
        2) Take the current revision number, do an svn diff -r <revision
number>:head, apply that diff.

I am in no position to say which would be better!

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 3 11:22:55 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.