[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: Gary Feldman <svnul4228_at_marsdome.com>
Date: 2005-12-27 03:46:38 CET

Hal Vaughan wrote:
> 2) Is there any problem with committing the same WC over and over and over?

I'm not sure I'm following you. It's normal Subversion usage to work in a
working copy, commit files when they're ready, and continue to work on new stuff
in the same working copy. A working copy may experience dozens or hundreds of
commits.

> 3) If I do this:
> - Checkout to /thresh/threshNet/work/Agent
> - Delete /thresh/threshNet/work/Agent
> - Create a soft link from /thresh/threshNet/Agent
> to /thresh/threshNet/work/Agent
> Will Subversion still see the link as the original WC directory, allowing me
> to continually commit my changes by "fooling" Subversion into seeing the link
> as the WC directory?

First if you've deleted ...work/Agent, you can't have a soft link pointing to it
(well you can, but it wouldn't be good for much). I assume what you mean is
that you're creating a soft link at .../work/Agent that points to .../Agent.

But regardless, Subversion stores information about the working copy in the .svn
  subdirectories of the working copy. So by deleting work/Agent, you've also
deleted all the .svn directories, and Subversion will not be able to recognize
it as a working copy.

Gary

---------------------------------------------------------------------
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:48:52 2005

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