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

Re: Using Links For WC -- Will This Work?

From: Bruce DeVisser <bmdmail_at_sympatico.ca>
Date: 2005-12-27 03:51:39 CET

On Mon, Dec 26, 2005 at 05:55:22PM -0500, Hal Vaughan wrote:
> So the basic intent here is to move all the .svn directories in the WC Agent
> dir (/thresh/threshNet/work/Agent) into the live version
> (/thresh/threshNet/Agent) -- am I following you on this?


> From what you say, though, I figure I can check
> out a working copy of the entire thing into a dummy directory, then copy over
> all the .svn files from the entire tree into the live version, and that
> should work. If it does, then I can edit and commit on the live version as
> much as I want with no trouble. When I need an older version, I just check
> it out somewhere in the /thresh/threshNet/work tree, and copy only the files
> out of there that I need.
> Does that make sense? For some reason, I'm having a hard time getting used to
> the entire setup.

Yes. If I need an older version of a file, though, the options
for me are normally either to 'svn update' the file to the
revision of interest, or to 'svn cat' the file at that revision
and capture it somewhere (either piping into a viewer or
redirecting to file). These options mean you can work right
inside your working directory and avoid the hassle of supplying a
repository path and of creating a place to stick the file.

> > Note that the working copy doesn't keep any information to say
> > where it is; it only keeps track of where in the repository it
> > came from.
> That helps a lot in understanding it. So I can check out to a directory, move
> it anywhere, and as long as the correct .svn files are there, it'll commit
> properly -- is that right?

That's correct.

Now that you've played with the software for a few weeks, it
would be good to give the book a read through. It's an investment
in time, but I think you'll find it paying off.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 27 03:54:12 2005

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